Skip to content

Instantly share code, notes, and snippets.

@garyharan
Created June 18, 2012 14:23
Show Gist options
  • Select an option

  • Save garyharan/2948622 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
Author

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

@Braidio

Braidio commented Jun 30, 2015

Copy link
Copy Markdown

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

@quetzalcoatl

Copy link
Copy Markdown

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