RailsCasts Pro episodes are now free!

Learn more or hide this

harryhorn's Profile

GitHub User: harryhorn

Comments by

Avatar

Thanks for the great screencast.

For those who wish to use Hirb with Pry add the following to your ~/.pryrb file

ruby
require 'hirb'

Hirb.enable

Pry.config.print = proc do |output, value|
  Hirb::View.view_or_page_output(value) || Pry::DEFAULT_PRINT.call(output, value)
end