remove a comment that no longer be true; 2cb6c27

This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-09-23 00:01:19 +09:00
parent 2cb6c27781
commit 418eec2c7d
-1
View File
@@ -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])