Permalink
Browse files

Remove dead code

  • Loading branch information...
1 parent 7cd8c7f commit 9d4cce079a3f9092438933b959797b555f4db57f Michael Klishin committed Jan 18, 2013
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/bunny/channel.rb
View
@@ -445,17 +445,13 @@ def ack(delivery_tag, multiple = false)
# @param [Boolean] multiple (false) Should all unacknowledged messages up to this be rejected as well?
# @see Bunny::Channel#ack
# @see http://rubybunny.info/articles/queues.html Queues and Consumers guide
+ # @api public
def nack(delivery_tag, requeue, multiple = false)
basic_nack(delivery_tag, requeue, multiple)
end
# @endgroup
-
- def on_error(&block)
- @default_error_handler = block
- end
-
#
# Lower-level API, exposes protocol operations as they are defined in the protocol,
# without any OO sugar on top, by design.

0 comments on commit 9d4cce0

Please sign in to comment.