remove a comment that no longer be true; 2cb6c277

parent 2cb6c277
...@@ -10,7 +10,6 @@ class String ...@@ -10,7 +10,6 @@ class String
# #
# ISO 15.2.10.5.15 # ISO 15.2.10.5.15
def each_line(&block) def each_line(&block)
# expect that str.index accepts an Integer for 1st argument as a byte data
offset = 0 offset = 0
while pos = self.index("\n", offset) while pos = self.index("\n", offset)
block.call(self[offset, pos + 1 - offset]) block.call(self[offset, pos + 1 - offset])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment