Class: FistOfFury::Supervisor
- Inherits:
-
Celluloid::SupervisionGroup
- Object
- Celluloid::SupervisionGroup
- FistOfFury::Supervisor
- Extended by:
- Logging
- Defined in:
- lib/fist_of_fury/supervisor.rb
Class Method Summary collapse
Class Method Details
.clock ⇒ Object
10 11 12 13 |
# File 'lib/fist_of_fury/supervisor.rb', line 10 def clock run! if Celluloid::Actor[:fist_of_fury_clock].nil? Celluloid::Actor[:fist_of_fury_clock] end |
.dispatcher ⇒ Object
15 16 17 18 |
# File 'lib/fist_of_fury/supervisor.rb', line 15 def dispatcher run! if Celluloid::Actor[:fist_of_fury_dispatcher].nil? Celluloid::Actor[:fist_of_fury_dispatcher] end |
.run! ⇒ Object
20 21 22 23 |
# File 'lib/fist_of_fury/supervisor.rb', line 20 def run! info 'FistOfFury::Supervisor start' super end |