Class: CelluloidPubsub::Registry

Inherits:
Object
  • Object
show all
Defined in:
lib/celluloid_pubsub/registry.rb

Overview

class used to register new channels and save them in memory

Class Attribute Summary collapse

Class Attribute Details

.channelsArray

Returns array of channels to which actors have subscribed to.

Returns:

  • (Array)

    array of channels to which actors have subscribed to



7
8
9
# File 'lib/celluloid_pubsub/registry.rb', line 7

def channels
  @channels
end