diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 04:30:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-18 04:30:40 +0000 |
commit | 6550126fabd3ee9a7d9983bf1e03fad4614ccbe0 (patch) | |
tree | 6136f8b6851b416d37fb6b44c36d43b8267309dc /array.c | |
parent | a6b64c3c2d4b5d0210e7288106a60896767e2a8a (diff) | |
download | ruby-6550126fabd3ee9a7d9983bf1e03fad4614ccbe0.tar.gz ruby-6550126fabd3ee9a7d9983bf1e03fad4614ccbe0.tar.xz ruby-6550126fabd3ee9a7d9983bf1e03fad4614ccbe0.zip |
* string.c (rb_str_each_line): String#lines now works when a block
is given. in other words, lines become an alias to each_line.
[ruby-core:09218]
* string.c (rb_str_each_byte): ditto for bytes in place of lines.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions