class method self.new

Ruby on Rails edge

Since edge

Signature

self.new(config: self.class.config)

No documentation comment.

Parameters

config key = self.class.config
Source
# File actioncable/lib/action_cable/server/base.rb, line 55
      def initialize(config: self.class.config)
        @config = config
        @mutex = Monitor.new
        @remote_connections = @event_loop = @worker_pool = @executor = @pubsub = @heartbeat_timer = nil
      end

Defined in actioncable/lib/action_cable/server/base.rb line 55 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Server::ThreadedExecutor::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close