class Pry::Command::ExitAll

Public Instance Methods

process() click to toggle source
# File lib/pry/commands/exit_all.rb, line 15
def process
  # calculate user-given value
  exit_value = target.eval(arg_string)

  # clear the binding stack
  _pry_.binding_stack.clear

  # break out of the repl loop
  throw(:breakout, exit_value)
end