From 418eec2c7d14197b3fac80957f6d45c92dd80942 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 23 Sep 2015 00:01:19 +0900 Subject: remove a comment that no longer be true; 2cb6c27 --- mrblib/string.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'mrblib/string.rb') 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]) -- cgit v1.2.3