Class: IRB::ExtendCommand::Foreground

Inherits:
Nop show all
Defined in:
lib/irb/cmd/subirb.rb

Instance Attribute Summary

Attributes inherited from Nop

#irb_context

Instance Method Summary collapse

Methods inherited from Nop

execute, #initialize, #irb

Constructor Details

This class inherits a constructor from IRB::ExtendCommand::Nop

Instance Method Details

#execute(key) ⇒ Object



31
32
33
# File 'lib/irb/cmd/subirb.rb', line 31

def execute(key)
  IRB.JobManager.switch(key)
end