123456789_123456789_123456789_123456789_123456789_

Class: IRB::Command::IrbCommand

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: IRB::Command::MultiIRBCommand
Defined in: lib/irb/command/subirb.rb

Class Method Summary

Instance Attribute Summary

Base - Inherited

Instance Method Summary

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#execute(arg)

[ GitHub ]

  
# File 'lib/irb/command/subirb.rb', line 37

def execute(arg)
  args, kwargs = ruby_args(arg)
  execute_internal(*args, **kwargs)
end

#execute_internal(*obj)

[ GitHub ]

  
# 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