Class: Kryten::ThreadedVisor
- Inherits:
-
Object
- Object
- Kryten::ThreadedVisor
- Extended by:
- ThreadedTask
- Defined in:
- lib/kryten.rb
Instance Attribute Summary
Attributes included from Weaver
Attributes included from Lawger
Attributes included from Runner
Class Method Summary collapse
Methods included from Weaver
#log_path, #setup, #shutdown, #start_work, #stop_work
Methods included from Task
Methods included from Lawger
#default_log_format, #log, #log_path, #name
Methods included from Runner
#after_run, #after_setup, #before_run, #before_setup, #debug, #initialize, #log, #name, #run, #setup, #shutdown, #start, #status, #stop_running
Class Method Details
.setup ⇒ Object
44 45 46 47 48 |
# File 'lib/kryten.rb', line 44 def self.setup Signal.trap("INT", proc { stop_work }) Signal.trap("TERM", proc { stop_work }) super end |