class IRB::Statement::Command

属性

arg[R]
command_class[R]

公共类方法

new(original_code, command_class, arg) 点击切换源代码
# File irb/statement.rb, line 60
def initialize(original_code, command_class, arg)
  @code = original_code
  @command_class = command_class
  @arg = arg
end

公共实例方法

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