Project

General

Profile

Bug #9876

IRB::Context output_method is not used

Added by ghazel (Greg Hazel) over 5 years ago. Updated about 4 hours ago.

Status:
Assigned
Priority:
Normal
Target version:
-
ruby -v:
2.0.0p451
[ruby-core:62834]

Description

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.

History

Updated by nagachika (Tomoyuki Chikanaga) over 5 years ago

  • Category set to lib
  • Status changed from Open to Assigned
  • Assignee set to keiju (Keiju Ishitsuka)

Updated by jeremyevans0 (Jeremy Evans) about 4 hours ago

I've added a pull request to remove the unused output_method variable: https://github.com/ruby/irb/pull/31

Also available in: Atom PDF