class Pry::REPL
def repl
-
(Exception)- If the session throws `:raise_up`, raise the exception
Returns:
-
(Object?)- If the session throws `:breakout`, return the value
def repl loop do case val = read when :control_c output.puts "" pry.reset_eval_string when :no_more_input output.puts "" if output.tty? break else output.puts "" if val.nil? && output.tty? return pry.exit_value unless pry.eval(val) end end end