diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-09-23 00:01:19 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-09-23 00:01:39 +0900 |
| commit | 418eec2c7d14197b3fac80957f6d45c92dd80942 (patch) | |
| tree | b5ff260c6dff08682f22ef78882c4fdd2755844b | |
| parent | 2cb6c2778134575e425cd5d1bdef036100a25d0d (diff) | |
| download | mruby-418eec2c7d14197b3fac80957f6d45c92dd80942.tar.gz mruby-418eec2c7d14197b3fac80957f6d45c92dd80942.zip | |
remove a comment that no longer be true; 2cb6c27
| -rw-r--r-- | mrblib/string.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mrblib/string.rb b/mrblib/string.rb index 7209f03d2..37441ec98 100644 --- a/mrblib/string.rb +++ b/mrblib/string.rb @@ -10,7 +10,6 @@ class String # # ISO 15.2.10.5.15 def each_line(&block) - # expect that str.index accepts an Integer for 1st argument as a byte data offset = 0 while pos = self.index("\n", offset) block.call(self[offset, pos + 1 - offset]) |
