Skip to content

Instantly share code, notes, and snippets.

@rgabo
Created April 8, 2014 09:55
Pry <3 Hirb
require 'hirb'
Hirb.enable
old_print = Pry.config.print
Pry.config.print = proc do |output, value|
Hirb::View.view_or_page_output(value) || old_print.call(output, value)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment