Class: Distribot::ConnectionSharer
- Inherits:
-
Object
- Object
- Distribot::ConnectionSharer
- Defined in:
- lib/distribot/connector.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bunny ⇒ Object
Returns the value of attribute bunny.
-
#channel ⇒ Object
Returns the value of attribute channel.
Instance Method Summary collapse
-
#initialize(bunny) ⇒ ConnectionSharer
constructor
A new instance of ConnectionSharer.
- #logger ⇒ Object
Constructor Details
#initialize(bunny) ⇒ ConnectionSharer
Returns a new instance of ConnectionSharer.
42 43 44 45 |
# File 'lib/distribot/connector.rb', line 42 def initialize(bunny) self.bunny = bunny @channel = nil end |
Instance Attribute Details
#bunny ⇒ Object
Returns the value of attribute bunny.
41 42 43 |
# File 'lib/distribot/connector.rb', line 41 def bunny @bunny end |
#channel ⇒ Object
Returns the value of attribute channel.
41 42 43 |
# File 'lib/distribot/connector.rb', line 41 def channel @channel end |