lib/celluloid_pubsub/registry.rb in celluloid_pubsub-0.9.0 vs lib/celluloid_pubsub/registry.rb in celluloid_pubsub-1.0.0

- old
+ new

@@ -1,10 +1,14 @@ +# 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 - # @!attribute channels - # @return [Array] array of channels to which actors have subscribed to + # 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