From: noreply@... Date: 2006-07-28T06:12:43+09:00 Subject: [ ruby-Bugs-5217 ] irb: assignment to $stdout Bugs item #5217, was opened at 2006-07-27 16:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5217&group_id=426 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Ian MacLeod (nevir) Assigned to: Nobody (None) Summary: irb: assignment to $stdout Initial Comment: irb crashes if you try to assign any class other than File or IO to $stdout. Test case: require 'stringio' $stdout = StringIO.new another test case: test = '' def test.write(val) self << val.to_s end $stdout = test ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5217&group_id=426