Method: Pry::Result#void_command?

Defined in:
lib/pry/command_set.rb

#void_command?Boolean

Is the result a command and if it is, is it a void command? (one that does not return a value)

Returns:

  • (Boolean)


414
415
416
# File 'lib/pry/command_set.rb', line 414

def void_command?
  retval == Command::VOID_VALUE
end