[ruby-core:62834] [ruby-trunk - Bug #9876] [Open] IRB::Context output_method is not used

From: ghazel@...
Date: 2014-05-29 05:26:46 UTC
List: ruby-core #62834
Issue #9876 has been reported by Greg Hazel.

----------------------------------------
Bug #9876: IRB::Context output_method is not used
https://bugs.ruby-lang.org/issues/9876

* Author: Greg Hazel
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.0.0p451
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
IRB::Context takes an optional output_method, but it is never used. IRB::Irb.output_value, and IRB::Irb.eval_input call print / printf directly, which always goes to STDOUT.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next