Sha256: dd73725276e97f11a088aa1b82fb0ac9ad6f034b769b1b910bff386f9fa32af2

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

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 = 6
    MINOR = 0
    TINY  = 2
    PRE   = "1"

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

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/actioncable-6.0.2.1/lib/action_cable/gem_version.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/actioncable-6.0.2.1/lib/action_cable/gem_version.rb
actioncable-6.0.2.1 lib/action_cable/gem_version.rb