Modified: MacRuby/branches/icu/lib/stringio.rb (3740 => 3741)
--- MacRuby/branches/icu/lib/stringio.rb 2010-03-12 00:18:44 UTC (rev 3740)
+++ MacRuby/branches/icu/lib/stringio.rb 2010-03-12 00:19:14 UTC (rev 3741)
@@ -329,7 +329,7 @@
# strio.getc -> string or nil
#
# Gets the next character from io.
- # Returns nil if called at end of file
+ # Returns nil if called at end of file
def getc
return nil if eof?
result = string[pos]
Modified: MacRuby/branches/icu/lib/strscan.rb (3740 => 3741)
--- MacRuby/branches/icu/lib/strscan.rb 2010-03-12 00:18:44 UTC (rev 3740)
+++ MacRuby/branches/icu/lib/strscan.rb 2010-03-12 00:19:14 UTC (rev 3741)
@@ -299,11 +299,6 @@
# s.getch # => "a"
# s.getch # => "b"
# s.getch # => nil
- #
- # # encoding: EUC-JP
- # s = StringScanner.new("\244\242")
- # s.getch # => "あ"
- # s.getch # => nil
#
def getch
scan(/./m)