Exception: Bunny::ChannelAlreadyClosed
- Defined in:
- lib/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.
208 209 210 211 212 |
# File 'lib/bunny/exceptions.rb', line 208 def initialize(, ch) super() @channel = ch end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
206 207 208 |
# File 'lib/bunny/exceptions.rb', line 206 def channel @channel end |