Class: IRB::ExtendCommand::Foreground
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
MultiIRBCommand,
Nop
|
|
|
Instance Chain:
self,
MultiIRBCommand,
Nop
|
|
| Inherits: |
IRB::ExtendCommand::MultiIRBCommand
|
| Defined in: | lib/irb/cmd/subirb.rb |
Class Method Summary
MultiIRBCommand - Inherited
Nop - Inherited
| .category, .description, | |
| .execute | See additional method definition at line 39. |
| .new, .string_literal? | |
Instance Attribute Summary
Nop - Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from IRB::ExtendCommand::MultiIRBCommand
Instance Method Details
#execute(key = nil)
# File 'lib/irb/cmd/subirb.rb', line 54
def execute(key = nil) raise CommandArgumentError.new("Please specify the id of target IRB job (listed in the `jobs` command).") unless key IRB.JobManager.switch(key) end