Created
March 2, 2013 10:15
-
-
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!
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
_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