lib/ably/modules/channels_collection.rb in ably-0.8.7 vs lib/ably/modules/channels_collection.rb in ably-0.8.8
- old
+ new
@@ -68,8 +68,18 @@
return to_enum(:each) unless block_given?
channels.values.each(&block)
end
private
- attr_reader :client, :channel_klass, :channels
+ def client
+ @client
+ end
+
+ def channel_klass
+ @channel_klass
+ end
+
+ def channels
+ @channels
+ end
end
end