Project

General

Profile

Actions

Bug #9876

closed

IRB::Context output_method is not used

Added by ghazel (Greg Hazel) almost 10 years ago. Updated over 4 years ago.

Status:
Closed
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.

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

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

Updated by jeremyevans0 (Jeremy Evans) over 4 years 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 .) over 4 years ago

  • Status changed from Assigned to Closed

This is fixed by 1fb4584825.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0