Class: IRB::Command::IrbCommand
- Inherits:
-
MultiIRBCommand
- Object
- Base
- MultiIRBCommand
- IRB::Command::IrbCommand
- 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
permalink #execute(arg) ⇒ Object
[View source]
37 38 39 40 |
# File 'lib/irb/command/subirb.rb', line 37 def execute(arg) args, kwargs = ruby_args(arg) execute_internal(*args, **kwargs) end |
permalink #execute_internal(*obj) ⇒ Object
[View source]
42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/irb/command/subirb.rb', line 42 def execute_internal(*obj) print_deprecated_warning if irb_context.with_debugger print_debugger_warning return end extend_irb_context IRB.irb(nil, *obj) puts IRB.JobManager.inspect end |