Class: Ayl::Worker
Instance Attribute Summary collapse
-
#eval_binding ⇒ Object
Returns the value of attribute eval_binding.
Instance Method Summary collapse
Methods included from Logging
Instance Attribute Details
#eval_binding ⇒ Object
Returns the value of attribute eval_binding.
6 7 8 |
# File 'lib/ayl/worker.rb', line 6 def eval_binding @eval_binding end |
Instance Method Details
#process_message(message) ⇒ Object
13 14 15 |
# File 'lib/ayl/worker.rb', line 13 def () .evaluate(@eval_binding) end |
#process_messages ⇒ Object
8 9 10 11 |
# File 'lib/ayl/worker.rb', line 8 def logger.error "Attempt to invoke #{self.class.name}.process_messages failed" raise "synchronous worker cannot receive messages" end |