Method: Qup::Producer#initialize
- Defined in:
- lib/qup/producer.rb
#initialize(queue) ⇒ Producer
Public: Create a new Producer
queue - the Queue this producer is for
Returns a new Producer
15 16 17 |
# File 'lib/qup/producer.rb', line 15 def initialize( queue ) @queue = queue end |