Class: Waylon::RSpec::TestWorker
- Inherits:
-
Object
- Object
- Waylon::RSpec::TestWorker
- Defined in:
- lib/waylon/rspec/test_worker.rb
Overview
A TestWorker to run queued Skills
Class Method Summary collapse
-
.handle(queue) ⇒ Object
Instructs the worker to grab an item off the Queue and run it.
Class Method Details
.handle(queue) ⇒ Object
Instructs the worker to grab an item off the Queue and run it
9 10 11 12 |
# File 'lib/waylon/rspec/test_worker.rb', line 9 def self.handle(queue) skill, details = queue.pop skill.perform(details) end |