ruby-amqp/amq-client — pull request #23 by bwong114 (2013-01-24 15:17:20+00:00)
Title: Backport 'Correct condition branches, should fix #14'

I would like to request that this bugfix be merged back into stable. This will allow applications using amq-client to correctly handle the `ConnectionClosedError` exception instead of receiving a `NoMethodError`.

This was simply a cherry-pick off master into the stable 0.9.x-stable branch. All tests pass.