Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #212 from jackhong/master

Change queues & exchanges method return values back to hash
  • Loading branch information...
commit ec274f320acde78b7b88cd91ff3acb3dc1f41681 2 parents e006900 + 30111ef
@michaelklishin michaelklishin authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 lib/amqp/channel.rb
View
8 lib/amqp/channel.rb
@@ -1184,14 +1184,10 @@ def consumers
@consumers
end # consumers
- # @return [Array<Queue>] Collection of queues that were declared on this channel.
- def queues
- @queues.values
- end
- # @return [Array<Exchange>] Collection of exchanges that were declared on this channel.
+ # @return [Hash<Exchange>] Collection of exchanges that were declared on this channel.
def exchanges
- @exchanges.values
+ @exchanges
end
Please sign in to comment.
Something went wrong with that request. Please try again.