Class: Hotwire::Livereload::CableServer
- Inherits:
-
ActionCable::Server::Base
- Object
- ActionCable::Server::Base
- Hotwire::Livereload::CableServer
- Defined in:
- lib/hotwire/livereload/cable_server.rb
Instance Method Summary collapse
-
#initialize ⇒ CableServer
constructor
A new instance of CableServer.
Constructor Details
#initialize ⇒ CableServer
Returns a new instance of CableServer.
4 5 6 7 8 |
# File 'lib/hotwire/livereload/cable_server.rb', line 4 def initialize config = ::ActionCable::Server::Base.config.dup config.connection_class = -> { ::ActionCable::Connection::Base } super(config: config) end |