# File lib/pry/repl_file_loader.rb, line 34 def non_interactive_mode(_pry_) _pry_.print = proc {} _pry_.exception_handler = proc do |o, e, _pry_| _pry_.run_command "cat --ex" o.puts "...exception encountered, going interactive!" interactive_mode(_pry_) end end