Object
Wraps the return result of process_commands, indicates if the result IS a command and what kind of command (e.g void)
# File lib/pry/command_set.rb, line 372 def initialize(is_command, retval = nil) @is_command, @retval = is_command, retval end
Is the result a command? @return [Boolean]
# File lib/pry/command_set.rb, line 378 def command? @is_command end
Is the result a command and if it is, is it a void command? (one that does not return a value) @return [Boolean]
# File lib/pry/command_set.rb, line 385 def void_command? retval == Command::VOID_VALUE end
[Validate]
Generated with the Darkfish Rdoc Generator 2.