class IRB::Statement::Command

Attributes

arg [R]
command_class [R]

Public Class Methods

new (original_code, command_class, arg)
# 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

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