Created
June 18, 2012 14:23
-
-
Save garyharan/2948622 to your computer and use it in GitHub Desktop.
Awesome Print + Pry == Awesome Pry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "awesome_print" | |
Pry.print = proc { |output, value| output.puts value.ai } |
Ah great idea! Any idea how to get this in a production Heroku env?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an awesome way to get awesome printed material right from pry instance.