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.
242 243 244 245 |
# File 'lib/cable_room/channel_base.rb', line 242 def initialize(channel) @channel = channel @identifiers = [] end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
235 236 237 |
# File 'lib/cable_room/channel_base.rb', line 235 def channel @channel end |
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers.
240 241 242 |
# File 'lib/cable_room/channel_base.rb', line 240 def identifiers @identifiers end |