From: Gregory Brown Date: 2009-08-23T21:50:20+09:00 Subject: Re: 1.8.7 String#lines keeps new-line chars (say it ain't so in 1.9) On Sat, Aug 22, 2009 at 11:46 AM, Intransition wrote: > Ruby 1.8.7 p72 > >  >> "A\nB\nC".lines.to_a >  => ["A\n", "B\n", "C"] > > Please, tell me that's a mishap, and not how 1.9 works. I'd expect: > >  >> "A\nB\nC".lines.to_a >  => ["A", "B", "C"] I know I'm going to be accused of bullying you again, but... Install the latest 1.9.1 and try it yourself (or if you feel fancy, the 1.9.2 preview). These aren't questions irb can't answer for you. Alternatively, try out ruby-versions: http://ruby-versions.net/