lib/async_cable/registry.rb in async_cable-0.2.0 vs lib/async_cable/registry.rb in async_cable-0.2.1
- old
+ new
@@ -5,10 +5,10 @@
class Registry
include Singleton
extend SingleForwardable
@mutex = Mutex.new
- single_delegate [:add, :remove, :find, :all] => :instance
+ single_delegate [:add, :remove, :find, :each] => :instance
# Adds connection to registry.
# @param channel_name [String]
# @param stream_name [String]
# @param connection [AsyncCable::Connection]