Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
418eec2c
Commit
418eec2c
authored
Sep 23, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove a comment that no longer be true;
2cb6c277
parent
2cb6c277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
mrblib/string.rb
mrblib/string.rb
+0
-1
No files found.
mrblib/string.rb
View file @
418eec2c
...
@@ -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
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment