class method
self.new
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
self.new(config: self.class.config)
No documentation comment.
Parameters
-
configkey = self.class.config
Source
# File actioncable/lib/action_cable/server/base.rb, line 24
def initialize(config: self.class.config)
@config = config
@mutex = Monitor.new
@remote_connections = @event_loop = @worker_pool = @pubsub = nil
end
Defined in actioncable/lib/action_cable/server/base.rb line 24
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::Base