diff options
| -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]) |
