From 1fb45848257e3a599809c6cac52338999e604da0 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Mon, 21 Oct 2019 13:08:22 -0700 Subject: Remove unsused output_method argument Fixes Ruby Bug 9876. --- lib/irb.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/irb.rb') diff --git a/lib/irb.rb b/lib/irb.rb index 522b53f762..6efb6c0e69 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -441,8 +441,8 @@ module IRB # parsed as a :method_add_arg and the output won't be suppressed # Creates a new irb session - def initialize(workspace = nil, input_method = nil, output_method = nil) - @context = Context.new(self, workspace, input_method, output_method) + def initialize(workspace = nil, input_method = nil) + @context = Context.new(self, workspace, input_method) @context.main.extend ExtendCommandBundle @signal_status = :IN_IRB @scanner = RubyLex.new -- cgit v1.2.3