mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Fix method signature after change in IRB (#390)
This change in IRB changed the method #output_value signature in an incompatible way; fixed
This commit is contained in:
parent
b348f44ea0
commit
c55cf6aba8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module AwesomePrint
|
||||||
|
|
||||||
def usual_rb
|
def usual_rb
|
||||||
IRB::Irb.class_eval do
|
IRB::Irb.class_eval do
|
||||||
def output_value
|
def output_value(*args)
|
||||||
ap @context.last_value
|
ap @context.last_value
|
||||||
rescue NoMethodError
|
rescue NoMethodError
|
||||||
puts "(Object doesn't support #ai)"
|
puts "(Object doesn't support #ai)"
|
||||||
|
|
Loading…
Reference in a new issue