|
|
|
|
|
by gcao
4253 days ago
|
|
In pry is it possible to return something when I exit the REPL? Like this: def do_something
return binding.pry
do_something_but_does_not_work
end
result = do_something
process result
It might be very convenient if I put 'return binging.pry' just before the broken code. I can interactively fix the broken code and continue run outside of current method. |
|