Bug #9876
IRB::Context output_method is not used
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 2 months ago
I've added a pull request to remove the unused output_method
variable: https://github.com/ruby/irb/pull/31
Updated by aycabta (aycabta .) about 2 months ago
- Status changed from Assigned to Closed
This is fixed by 1fb4584825.