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 5
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 7
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 45
                def server
  @server ||= ActionCable::Server::Base.new
end