@@ -675,14 +675,6 @@ class StringScanner
675675 #
676676 def check_until : (Regexp) -> String
677677
678- # <!--
679- # rdoc-file=ext/strscan/strscan.c
680- # - clear()
681- # -->
682- # Equivalent to #terminate. This method is obsolete; use #terminate instead.
683- #
684- def clear : () -> void
685-
686678 # <!--
687679 # rdoc-file=ext/strscan/strscan.c
688680 # - concat(more_string) -> self
@@ -706,14 +698,6 @@ class StringScanner
706698 #
707699 alias concat <<
708700
709- # <!--
710- # rdoc-file=ext/strscan/strscan.c
711- # - empty?()
712- # -->
713- # Equivalent to #eos?. This method is obsolete, use #eos? instead.
714- #
715- def empty? : () -> bool
716-
717701 # <!--
718702 # rdoc-file=ext/strscan/strscan.c
719703 # - eos? -> true or false
@@ -818,14 +802,6 @@ class StringScanner
818802 #
819803 def get_byte : () -> String?
820804
821- # <!--
822- # rdoc-file=ext/strscan/strscan.c
823- # - getbyte()
824- # -->
825- # Equivalent to #get_byte. This method is obsolete; use #get_byte instead.
826- #
827- def getbyte : () -> String?
828-
829805 # <!--
830806 # rdoc-file=ext/strscan/strscan.c
831807 # - getch()
@@ -1012,14 +988,6 @@ class StringScanner
1012988 #
1013989 def peek : (Integer) -> String
1014990
1015- # <!--
1016- # rdoc-file=ext/strscan/strscan.c
1017- # - peep(p1)
1018- # -->
1019- # Equivalent to #peek. This method is obsolete; use #peek instead.
1020- #
1021- def peep : (Integer) -> String
1022-
1023991 # <!-- rdoc-file=ext/strscan/strscan.c -->
1024992 # call-seq:
1025993 # pos -> byte_position
@@ -1217,15 +1185,6 @@ class StringScanner
12171185 #
12181186 def rest_size : () -> Integer
12191187
1220- # <!--
1221- # rdoc-file=ext/strscan/strscan.c
1222- # - restsize()
1223- # -->
1224- # `s.restsize` is equivalent to `s.rest_size`. This method is obsolete; use
1225- # #rest_size instead.
1226- #
1227- def restsize : () -> Integer
1228-
12291188 # <!--
12301189 # rdoc-file=ext/strscan/strscan.c
12311190 # - scan(p1)
0 commit comments