1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Reset @suppress_output each time through the loop

This commit is contained in:
Conrad Irwin 2012-12-15 14:52:56 -08:00
parent b773cb051e
commit 0be747cccb

View file

@ -274,10 +274,10 @@ class Pry
def r(target=TOPLEVEL_BINDING)
target = Pry.binding_for(target)
eval_string = ""
@suppress_output = false
loop do
throw(:breakout) if binding_stack.empty?
@suppress_output = false
inject_sticky_locals(target)
case val = retrieve_line(eval_string, target)