From: Vladimir Sizikov Date: 2009-12-07T06:43:29+09:00 Subject: [ruby-core:27076] [Backport #2431] StringIO#{gets,readlines} with "" (paragraph mode) trims last "\n" Issue #2431 has been updated by Vladimir Sizikov. So, is the current 1.8.6-1.8.7 behavior considered a bug or feature? Once I fixed the behavior in JRuby to match the latest MRI behavior, I'm getting 6 RubySpec failures, where all those tests expect that in paragraph mode only one \n is returned, not two. I can change the specs, but I need to know the official position here. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2431 ---------------------------------------- http://redmine.ruby-lang.org