Class: IRB::Command::Jobs

Inherits:
MultiIRBCommand show all
Defined in:
lib/irb/command/subirb.rb

Instance Attribute Summary

Attributes inherited from Base

#irb_context

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

#execute(_arg) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
# File 'lib/irb/command/subirb.rb', line 60

def execute(_arg)
  print_deprecated_warning

  if irb_context.with_debugger
    print_debugger_warning
    return
  end

  extend_irb_context
  puts IRB.JobManager.inspect
end