summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-21 13:08:22 -0700
committeraycabta <aycabta@gmail.com>2019-10-24 23:47:50 +0900
commit1fb45848257e3a599809c6cac52338999e604da0 (patch)
treefca8e2a7195f697b5f817a365c0b01f3bf5f10b2 /lib/irb.rb
parent8439caab0ac91aa33176060bb81cb4197ab21069 (diff)
Remove unsused output_method argument
Fixes Ruby Bug 9876.
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 522b53f..6efb6c0 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