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

Merge pull request #1102 from yui-knk/fix-repl_file_loader

Go to interactive_mode end-of-input is raised
This commit is contained in:
yui-knk 2014-01-29 07:04:38 -08:00
commit 9999550e4c

View file

@ -44,6 +44,11 @@ class Pry
content.lines.each do |line|
break unless _pry_.eval line, :generated => true
end
unless _pry_.eval_string.empty?
_pry_.output.puts "#{_pry_.eval_string}...exception encountered, going interactive!"
interactive_mode(_pry_)
end
end
# Define a few extra commands useful for flipping back & forth