examples/queues/queue_status.rb in amqp-0.8.0.rc12 vs examples/queues/queue_status.rb in amqp-0.8.0.rc13
- old
+ new
@@ -6,16 +6,9 @@
$:.unshift(File.expand_path("../../../lib", __FILE__))
require 'amqp'
-if RUBY_VERSION == "1.8.7"
- class Array
- alias sample choice
- end
-end
-
-
puts "=> Queue#status example"
puts
AMQP.start(:host => 'localhost') do |connection|
channel = AMQP::Channel.new