Exception: GorgonBunny::ChannelAlreadyClosed
- Defined in:
- lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb
Overview
Raised when a closed channel is used
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
Instance Method Summary collapse
-
#initialize(message, ch) ⇒ ChannelAlreadyClosed
constructor
A new instance of ChannelAlreadyClosed.
Constructor Details
#initialize(message, ch) ⇒ ChannelAlreadyClosed
Returns a new instance of ChannelAlreadyClosed.
170 171 172 173 174 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 170 def initialize(, ch) super() @channel = ch end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
168 169 170 |
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 168 def channel @channel end |