Class: CableRoom::DummyConnection
- Inherits:
-
Object
- Object
- CableRoom::DummyConnection
- Defined in:
- lib/cable_room/channel_base.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#identifiers ⇒ Object
readonly
Returns the value of attribute identifiers.
Instance Method Summary collapse
-
#initialize(channel) ⇒ DummyConnection
constructor
A new instance of DummyConnection.
Constructor Details
#initialize(channel) ⇒ DummyConnection
Returns a new instance of DummyConnection.
257 258 259 260 |
# File 'lib/cable_room/channel_base.rb', line 257 def initialize(channel) @channel = channel @identifiers = [] end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
250 251 252 |
# File 'lib/cable_room/channel_base.rb', line 250 def channel @channel end |
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers.
255 256 257 |
# File 'lib/cable_room/channel_base.rb', line 255 def identifiers @identifiers end |