Permalink
Browse files

Updated the example

  • Loading branch information...
Jakub Šťastný aka Botanicus
Jakub Šťastný aka Botanicus committed Nov 15, 2010
1 parent c63a4d0 commit 8ea463a7082febc5a782f7776f030407ca9625b0
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/mq/callbacks.rb
View
@@ -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

0 comments on commit 8ea463a

Please sign in to comment.