Class: IRB::Statement::Command
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           ::IRB::Statement | |
| Instance Chain: 
          self,
           ::IRB::Statement | |
| Inherits: | IRB::Statement 
 | 
| Defined in: | lib/irb/statement.rb | 
Class Method Summary
Instance Attribute Summary
- #arg readonly
- #command_class readonly
- #is_assignment? ⇒ Boolean readonly
- #should_be_handled_by_debugger? ⇒ Boolean readonly
- #suppresses_echo? ⇒ Boolean readonly
::IRB::Statement - Inherited
Constructor Details
    .new(original_code, command_class, arg)  ⇒ Command 
  
# File 'lib/irb/statement.rb', line 60
def initialize(original_code, command_class, arg) @code = original_code @command_class = command_class @arg = arg end
Instance Attribute Details
#arg (readonly)
[ GitHub ]# File 'lib/irb/statement.rb', line 58
attr_reader :command_class, :arg
#command_class (readonly)
[ GitHub ]# File 'lib/irb/statement.rb', line 58
attr_reader :command_class, :arg
    #is_assignment?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/irb/statement.rb', line 66
def is_assignment? false end
    #should_be_handled_by_debugger?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# 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?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/irb/statement.rb', line 70
def suppresses_echo? false end