Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the example

  • Loading branch information...
commit 8ea463a7082febc5a782f7776f030407ca9625b0 1 parent c63a4d0
Jakub Šťastný aka Botanicus authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/mq/callbacks.rb
View
4 examples/mq/callbacks.rb
@@ -8,8 +8,8 @@
amq = MQ.new
3.times do
- amq.queue("") do |method|
- puts "Queue #{method.queue} declared."
+ amq.queue("") do |queue|
+ puts "Queue #{queue.name} declared."
puts "All queues: #{amq.queues.map(&:name).inspect}", ""
@counter += 1
Please sign in to comment.
Something went wrong with that request. Please try again.