Class: ActiveMessage::Worker
- Inherits:
-
Object
- Object
- ActiveMessage::Worker
- Defined in:
- lib/active_message/worker.rb
Instance Method Summary collapse
Instance Method Details
#initializer ⇒ Object
3 4 5 |
# File 'lib/active_message/worker.rb', line 3 def initializer ActiveMessage::Logger.debug "Initialized ActiveMessage Worker ...." end |
#run ⇒ Object
7 8 9 10 11 12 |
# File 'lib/active_message/worker.rb', line 7 def run ActiveMessage::Logger.debug "ActiveMessage Worker Started ...." setup_bindings threads.each(&:join) ActiveMessage::Logger.debug "ActiveMessage Worker Stopped ...." end |
#threads ⇒ Object
14 15 16 |
# File 'lib/active_message/worker.rb', line 14 def threads @threads ||= [] end |