Actions
Bug #7440
closedIO#lines etc. should return Array
ruby -v:
ruby 2.0.0dev (2012-11-26 trunk 36708) [x86_64-darwin12.2.1]
Backport:
Description
String#bytes, #chars, #codepints and #lines are changed to return Array in #6670.
For consistent behavior, following methods should return Array too:
- ARGF.lines, chars, bytes, codepoints
- IO#lines, chars, bytes, codepoints
- StringIO#lines, chars, bytes, codepoints
- Zlib::GzipReader#lines, bytes
Please let me know if there are more.
Actions
Like0
Like0Like0Like0Like0Like0