Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions stdlib/strscan/0/string_scanner.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -675,14 +675,6 @@ class StringScanner
#
def check_until: (Regexp) -> String

# <!--
# rdoc-file=ext/strscan/strscan.c
# - clear()
# -->
# Equivalent to #terminate. This method is obsolete; use #terminate instead.
#
def clear: () -> void

# <!--
# rdoc-file=ext/strscan/strscan.c
# - concat(more_string) -> self
Expand All @@ -706,14 +698,6 @@ class StringScanner
#
alias concat <<

# <!--
# rdoc-file=ext/strscan/strscan.c
# - empty?()
# -->
# Equivalent to #eos?. This method is obsolete, use #eos? instead.
#
def empty?: () -> bool

# <!--
# rdoc-file=ext/strscan/strscan.c
# - eos? -> true or false
Expand Down Expand Up @@ -818,14 +802,6 @@ class StringScanner
#
def get_byte: () -> String?

# <!--
# rdoc-file=ext/strscan/strscan.c
# - getbyte()
# -->
# Equivalent to #get_byte. This method is obsolete; use #get_byte instead.
#
def getbyte: () -> String?

# <!--
# rdoc-file=ext/strscan/strscan.c
# - getch()
Expand Down Expand Up @@ -1012,14 +988,6 @@ class StringScanner
#
def peek: (Integer) -> String

# <!--
# rdoc-file=ext/strscan/strscan.c
# - peep(p1)
# -->
# Equivalent to #peek. This method is obsolete; use #peek instead.
#
def peep: (Integer) -> String

# <!-- rdoc-file=ext/strscan/strscan.c -->
# call-seq:
# pos -> byte_position
Expand Down Expand Up @@ -1217,15 +1185,6 @@ class StringScanner
#
def rest_size: () -> Integer

# <!--
# rdoc-file=ext/strscan/strscan.c
# - restsize()
# -->
# `s.restsize` is equivalent to `s.rest_size`. This method is obsolete; use
# #rest_size instead.
#
def restsize: () -> Integer

# <!--
# rdoc-file=ext/strscan/strscan.c
# - scan(p1)
Expand Down
Loading