Class: IRB::ExtendCommand::Kill

Inherits:
MultiIRBCommand 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

category, description, execute, #initialize

Constructor Details

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

Instance Method Details

#execute(*keys) ⇒ Object



94
95
96
97
98
99
100
101
102
103
104
# File 'lib/irb/cmd/subirb.rb', line 94

def execute(*keys)
  print_deprecated_warning

  if irb_context.with_debugger
    print_debugger_warning
    return
  end

  super
  IRB.JobManager.kill(*keys)
end