Created
July 29, 2013 13:18
-
-
Save jandudulski/6104244 to your computer and use it in GitHub Desktop.
pry vs irb
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
class Example; def inspect; raise "whatever"; end; end; | |
Example.new | |
RuntimeError: whatever | |
from (irb):1:in `inspect' | |
from /home/yanoo/.rbenv/versions/1.9.3-p194/bin/irb:12:in `<main>' |
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
class Example; def inspect; raise "whatever"; end; end; | |
Example.new | |
=> #<Example:0x47e5e10> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment