Sign in through GitHub

Please read for an updated status on RailsCasts:

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