class Pry::Command::Exit

def process

def process
  if _pry_.binding_stack.one?
    _pry_.run_command "exit-all #{arg_string}"
  else
    # otherwise just pop a binding and return user supplied value
    process_pop_and_return
  end
end