stdlib/strscan/0/string_scanner.rbs in rbs-3.3.2 vs stdlib/strscan/0/string_scanner.rbs in rbs-3.4.0.pre.1

- old
+ new

@@ -565,11 +565,12 @@ # --> # Returns true if and only if there is more data in the string. See #eos?. This # method is obsolete; use #eos? instead. # # s = StringScanner.new('test string') - # s.eos? # These two - # s.rest? # are opposites. + # # These two are opposites + # s.eos? # => false + # s.rest? # => true # def rest?: () -> bool # <!-- # rdoc-file=ext/strscan/strscan.c