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 4
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 6
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 44
                def server
  @server ||= ActionCable::Server::Base.new
end