[ruby-core:95461] [Ruby master Bug#9876] IRB::Context output_method is not used
From:
merch-redmine@...
Date:
2019-10-21 20:45:09 UTC
List:
ruby-core #95461
Issue #9876 has been updated by jeremyevans0 (Jeremy Evans). I've added a pull request to remove the unused `output_method` variable: https://github.com/ruby/irb/pull/31 ---------------------------------------- Bug #9876: IRB::Context output_method is not used https://bugs.ruby-lang.org/issues/9876#change-82220 * Author: ghazel (Greg Hazel) * Status: Assigned * Priority: Normal * Assignee: keiju (Keiju Ishitsuka) * 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/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>