123456789_123456789_123456789_123456789_123456789_

Class: IRB::ExtendCommand::MultiIRBCommand

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Nop
Instance Chain:
self, Nop
Inherits: IRB::ExtendCommand::Nop
Defined in: lib/irb/cmd/subirb.rb

Class Method Summary

Nop - Inherited

.category, .description,
.execute

See additional method definition at line 39.

.new, .string_literal?

Instance Attribute Summary

Nop - Inherited

Instance Method Summary

Nop - Inherited

Constructor Details

.new(conf) ⇒ MultiIRBCommand

[ GitHub ]

  
# File 'lib/irb/cmd/subirb.rb', line 19

def initialize(conf)
  super
  extend_irb_context
end

Instance Method Details

#extend_irb_context (private)

[ GitHub ]

  
# File 'lib/irb/cmd/subirb.rb', line 26

def extend_irb_context
  # this extension patches IRB context like IRB.CurrentContext
  require_relative "../ext/multi-irb"
end