Skip to content

Instantly share code, notes, and snippets.

@jonahoffline
Created March 2, 2013 10:15
Show Gist options
  • Save jonahoffline/5070394 to your computer and use it in GitHub Desktop.
Save jonahoffline/5070394 to your computer and use it in GitHub Desktop.
For emulating fancy_irb's inline results with Pry. Thanks to cirwim at #pry who made this!
_pry_.print = lambda { |o, v| o.print "\e[1A\e[18C # => "; o.puts v.inspect }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment