From c55cf6aba85079bdac5681f33d93f56980200b10 Mon Sep 17 00:00:00 2001 From: Florian Ebeling Date: Wed, 13 Jan 2021 20:14:58 +0100 Subject: [PATCH] Fix method signature after change in IRB (#390) This change in IRB changed the method #output_value signature in an incompatible way; fixed --- lib/awesome_print/custom_defaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awesome_print/custom_defaults.rb b/lib/awesome_print/custom_defaults.rb index aec402a..570fac8 100644 --- a/lib/awesome_print/custom_defaults.rb +++ b/lib/awesome_print/custom_defaults.rb @@ -27,7 +27,7 @@ module AwesomePrint def usual_rb IRB::Irb.class_eval do - def output_value + def output_value(*args) ap @context.last_value rescue NoMethodError puts "(Object doesn't support #ai)"