lib/amqp/queue.rb in famoseagle-carrot-0.1.0 vs lib/amqp/queue.rb in famoseagle-carrot-0.2.0
- old
+ new
@@ -8,16 +8,17 @@
@opts = opts
@name = name
server.send_frame(
Protocol::Queue::Declare.new({ :queue => name, :nowait => true }.merge(opts))
)
+ nil
end
def delete(opts = {})
server.send_frame(
Protocol::Queue::Delete.new({ :queue => name, :nowait => true }.merge(opts))
)
- pp server.next_method
+ nil
end
def pop(opts = {})
self.delivery_tag = nil
server.send_frame(