method

switch

v2_1_10 - Show latest stable - Class: IRB::JobManager
switch(key)
public

Changes the current active irb session to the given key in the jobs Array.

Raises an IrbAlreadyDead exception if the given key is no longer alive.

If the given irb session is already active, an IrbSwitchedToCurrentThread exception is raised.