Class: IRB::Command::Kill
- Inherits:
-
MultiIRBCommand
- Object
- Base
- MultiIRBCommand
- IRB::Command::Kill
- Defined in:
- lib/irb/command/subirb.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from RubyArgsExtractor
#ruby_args, #unwrap_string_literal
Methods inherited from Base
category, description, execute, help_message, #initialize
Constructor Details
This class inherits a constructor from IRB::Command::Base
Instance Method Details
#execute(arg) ⇒ Object
102 103 104 105 |
# File 'lib/irb/command/subirb.rb', line 102 def execute(arg) args, kwargs = ruby_args(arg) execute_internal(*args, **kwargs) end |
#execute_internal(*keys) ⇒ Object
107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/irb/command/subirb.rb', line 107 def execute_internal(*keys) print_deprecated_warning if irb_context.with_debugger print_debugger_warning return end extend_irb_context IRB.JobManager.kill(*keys) puts IRB.JobManager.inspect end |