Skip to content

Instantly share code, notes, and snippets.

@timuruski
Created September 19, 2013 15:30
Show Gist options
  • Save timuruski/6625247 to your computer and use it in GitHub Desktop.
Save timuruski/6625247 to your computer and use it in GitHub Desktop.
require 'awesome_print'
# require 'map_by_method'
if require 'hirb'
Pry.config.print = proc do |output, value|
Hirb::View.view_or_page_output(value) || Pry::DEFAULT_PRINT.call(output, value)
end
Hirb.enable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment