Class: IRB::Command::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,
Base
|
|
Instance Chain:
self,
RubyArgsExtractor ,
Base
|
|
Inherits: |
IRB::Command::Base
|
Defined in: | lib/irb/command/subirb.rb |
Class Method Summary
Base
- Inherited
Instance Attribute Summary
Base
- Inherited
Instance Method Summary
- #extend_irb_context private
- #print_debugger_warning private
- #print_deprecated_warning private
RubyArgsExtractor
- Included
Base
- Inherited
Constructor Details
This class inherits a constructor from IRB::Command::Base
Instance Method Details
#extend_irb_context (private)
[ GitHub ]# File 'lib/irb/command/subirb.rb', line 23
def extend_irb_context # this extension patches IRB context like IRB.CurrentContext require_relative "../ext/multi-irb" end
#print_debugger_warning (private)
[ GitHub ]# File 'lib/irb/command/subirb.rb', line 28
def print_debugger_warning warn "Multi-IRB commands are not available when the debugger is enabled." end
#print_deprecated_warning (private)
[ GitHub ]# File 'lib/irb/command/subirb.rb', line 16
def print_deprecated_warning warn <<~MSG Multi-irb commands are deprecated and will be removed in IRB 2.0.0. Please use workspace commands instead. If you have any use case for multi-irb, please leave a comment at https://github.com/ruby/irb/issues/653 MSG end