module ActionCable
Constants
- INTERNAL
Public Class Methods
gem_version()
click to toggle source
Returns the version of the currently loaded Action Cable as a
Gem::Version
.
# File lib/action_cable/gem_version.rb, line 3 def self.gem_version Gem::Version.new VERSION::STRING end
version()
click to toggle source
Returns the version of the currently loaded Action Cable as a
Gem::Version
# File lib/action_cable/version.rb, line 5 def self.version gem_version end
Public Instance Methods
server()
click to toggle source
Singleton instance of the server
# File lib/action_cable.rb, line 43 def server @server ||= ActionCable::Server::Base.new end