# File lib/pry/repl_file_loader.rb, line 56 def define_additional_commands s = self Pry::Commands.command "make-interactive", "Make the session interactive" do s.interactive_mode(_pry_) end Pry::Commands.command "load-file", "Load another file through the repl" do |file_name| s.non_interactive_mode(_pry_, File.read(File.expand_path(file_name))) end end