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)"