Class: ActionPubsub::Channels
- Defined in:
- lib/action_pubsub/channels.rb
Instance Method Summary collapse
Methods inherited from Registry
Instance Method Details
#[](val) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/action_pubsub/channels.rb', line 3 def [](val) return super(val) if key?(val) add(val){ ::ActionPubsub::Channel.spawn(val) } super(val) end |