Sha256: 12fb6dcdb1f8e73a50ba8020ce4d6faf86b5660473b28edf07143cc715085143

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

# :markup: markdown

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

  module VERSION
    MAJOR = 7
    MINOR = 2
    TINY  = 1
    PRE   = "1"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actioncable-7.2.1.1 lib/action_cable/gem_version.rb