From: Arthur Schreiber Date: 2008-06-16T03:21:45+09:00 Subject: [ruby-core:17257] [Ruby 1.8 - Bug #159] (Open) [PATCH] StringIO#readline does not set $_ Issue #159 has been reported by Arthur Schreiber. ---------------------------------------- Bug #159: [PATCH] StringIO#readline does not set $_ http://redmine.ruby-lang.org/issues/show/159 Author: Arthur Schreiber Status: Open Priority: Normal Assigned to: Nobuyoshi Nakada Category: Target version: Desktop:ruby_1_8 arthur$ irb irb(main):001:0> $stdin.readline some text => "some text\n" irb(main):002:0> $_ => "some text\n" irb(main):003:0> require "stringio" => true irb(main):004:0> strio = StringIO.new("line1\nline2") => # irb(main):005:0> strio.readline => "line1\n" irb(main):006:0> $_ => "some text\n" ---------------------------------------- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account