Sha256: 1ec12d94ef1573e059b0a26ed417238e43b4f5e01b4fe63dcf23c3088762577a

Contents?: true

Size: 457 Bytes

Versions: 7

Compression:

Stored size: 457 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true
module CelluloidPubsub
  # class used to register new channels and save them in memory
  # @attr  channels
  #   @return [Array] array of channels to which actors have subscribed to
  class Registry
    class << self
      # The channels that the server can handle
      # @return [Array] array of channels to which actors have subscribed to
      attr_accessor :channels
    end
    @channels = []
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
celluloid_pubsub-1.1.2 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.1.1 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.1.0 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.0.3 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.0.2 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.0.1 lib/celluloid_pubsub/registry.rb
celluloid_pubsub-1.0.0 lib/celluloid_pubsub/registry.rb