Currently

>> "ab\r\nc".lines[0]
NoMethodError: undefined method `[]' for #<Enumerator:0x155f220>
        from (irb):1
        from C:/installs/ruby191p243p2/bin/irb:12:in `<main>'

Doesn't it seem reasonable for this to exist?
Thanks.
-r
-- 
Posted via http://www.ruby-forum.com/.