Skip to content

Instantly share code, notes, and snippets.

@garyharan
Created June 18, 2012 14:23
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save garyharan/2948622 to your computer and use it in GitHub Desktop.
Save garyharan/2948622 to your computer and use it in GitHub Desktop.
Awesome Print + Pry == Awesome Pry
require "rubygems"
require "awesome_print"
Pry.print = proc { |output, value| output.puts value.ai }
@garyharan
Copy link
Author

This is an awesome way to get awesome printed material right from pry instance.

@Braidio
Copy link

Braidio commented Jun 30, 2015

Ah great idea! Any idea how to get this in a production Heroku env?

@quetzalcoatl
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment