Sha256: 5de63536655b8ae5a8eed96ba9d88b02ce26ab18d710e6ea6b5300226c35554e

Contents?: true

Size: 363 Bytes

Versions: 3

Compression:

Stored size: 363 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 = 8
    MINOR = 0
    TINY  = 0
    PRE   = "alpha"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
actioncable-next-0.1.2 lib/action_cable/gem_version.rb
actioncable-next-0.1.1 lib/action_cable/gem_version.rb
actioncable-next-0.1.0 lib/action_cable/gem_version.rb