[macruby-changes] [3741] MacRuby/branches/icu/lib
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 11 16:19:14 PST 2010
Revision: 3741
http://trac.macosforge.org/projects/ruby/changeset/3741
Author: lsansonetti at apple.com
Date: 2010-03-11 16:19:14 -0800 (Thu, 11 Mar 2010)
Log Message:
-----------
removed multibyte sequences inside comments that make rdoc unhappy
Modified Paths:
--------------
MacRuby/branches/icu/lib/stringio.rb
MacRuby/branches/icu/lib/strscan.rb
Modified: MacRuby/branches/icu/lib/stringio.rb
===================================================================
--- 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
===================================================================
--- 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100311/0bff0cb4/attachment.html>
More information about the macruby-changes
mailing list