Y
Hacker News
new
|
ask
|
show
|
jobs
by
vidarh
4262 days ago
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.