You can paste this in to you terminal to reset it back to what it was originally if you like:
IRB::Irb.class_eval do
def output_value # :nodoc:
printf @context.return_format, @context.inspect_last_value
end
end
or you can go whole hog and monkey patch AwesomePrint:
module AwesomePrint
def self.un_irb!
IRB::Irb.class_eval do
def output_value # :nodoc:
printf @context.return_format, @context.inspect_last_value
end
end
end
end
Then just call it whenever you want: AwesomePrint.un_irb!