# File lib/amqp/queue.rb, line 468 def reset @deferred_status = nil initialize @mq, @name, @opts binds = @bindings @bindings = {} binds.each { |ex, opts| bind(ex, opts) } if blk = @on_msg @on_msg = nil subscribe @on_msg_opts, &blk end if @on_pop pop @on_pop_opts, &@on_pop end end