Class: CelluloidPubsub::Registry

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
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

+ (Array) channels

Returns array of channels to which actors have subscribed to

Returns:

  • (Array)

    array of channels to which actors have subscribed to



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

def channels
  @channels
end