Sha256: b46f7b1c7eadb7f5fd82b41ced216b098f8204e475907885c430319e42cf36d3

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

module ActionCable
  # Returns the version of the currently loaded Action Cable as a <tt>Gem::Version</tt>.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 5
    MINOR = 0
    TINY  = 0
    PRE   = nil

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
abaci-0.3.0 vendor/bundle/gems/actioncable-5.0.0/lib/action_cable/gem_version.rb
actioncable-5.0.0 lib/action_cable/gem_version.rb