Class: ActionCable::Server::RupServer
- Inherits:
-
Base
- Object
- Base
- ActionCable::Server::RupServer
- Defined in:
- lib/action_cable/server/rup_server.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config: self.class.config) ⇒ RupServer
constructor
A new instance of RupServer.
Constructor Details
#initialize(config: self.class.config) ⇒ RupServer
Returns a new instance of RupServer.
6 7 8 9 10 |
# File 'lib/action_cable/server/rup_server.rb', line 6 def initialize(config: self.class.config) @config = config @mutex = Monitor.new @remote_connections = @event_loop = @worker_pool = @pubsub = nil end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/action_cable/server/rup_server.rb', line 4 def config @config end |