class IRB::Statement::Command

Attributes

Public Class Methods

# File lib/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

# File lib/irb/statement.rb, line 66
def is_assignment?
  false
end
# File lib/irb/statement.rb, line 74
def should_be_handled_by_debugger?
  require_relative 'command/debug'
  IRB::Command::DebugCommand > @command_class
end
# File lib/irb/statement.rb, line 70
def suppresses_echo?
  true
end