Re:“Did you mean?” Experience in Ruby
by vidarh on Friday October 24, 2014 @05:04AM
(#8502781)
If you are explicit: "return" in a Pry session will exit pry and return the value you pass to it, just as if you are in the method itself. So e.g. "return 42" would return 42 from do_something.
[ Parent
| on HN ]
There are no comments on this comment yet.