class IRB::ExtendCommand::MultiIRBCommand
def execute(*args)
def execute(*args) extend_irb_context end
def extend_irb_context
def extend_irb_context # this extension patches IRB context like IRB.CurrentContext require_relative "../ext/multi-irb" end
def print_debugger_warning
def print_debugger_warning warn "Multi-IRB commands are not available when the debugger is enabled." end
def print_deprecated_warning
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