Fixed #render_output

This commit is contained in:
Mon ouïe 2011-04-26 23:27:50 +02:00
parent b14be6c0c4
commit 7562f29170
1 changed files with 5 additions and 5 deletions

View File

@ -48,12 +48,12 @@ class Pry
def render_output(should_flood, start_line, doc) def render_output(should_flood, start_line, doc)
if start_line if start_line
doc = add_line_numbers(doc, start_line) doc = add_line_numbers(doc, start_line)
end
if should_flood if should_flood
output.puts doc output.puts doc
else else
stagger_output(doc) stagger_output(doc)
end
end end
end end