class IRB::Statement::Command

Attributes

arg[R]
command_class[R]

Public Class Methods

new(original_code, command_class, arg) click to toggle source
# File irb/statement.rb, line 60
def initialize(original_code, command_class, arg)
  @code = original_code
  @command_class = command_class
  @arg = arg
end

Public Instance Methods

is_assignment?() click to toggle source
# File irb/statement.rb, line 66
def is_assignment?
  false
end
should_be_handled_by_debugger?() click to toggle source
# File irb/statement.rb, line 74
def should_be_handled_by_debugger?
  require_relative 'command/debug'
  IRB::Command::DebugCommand > @command_class
end
suppresses_echo?() click to toggle source
# File irb/statement.rb, line 70
def suppresses_echo?
  false
end