class Pry::Result

result IS a command and what kind of command (e.g void)
Wraps the return result of process_commands, indicates if the

def command?

Returns:
  • (Boolean) -
def command?
  @is_command
end

def initialize(is_command, retval = nil)

def initialize(is_command, retval = nil)
  @is_command = is_command
  @retval = retval
end

def void_command?

Returns:
  • (Boolean) -
def void_command?
  retval == Command::VOID_VALUE
end