Sha256: 3a69af596f155348367b03f8e1f374f123ab306fec4059d49edca3120a1f129f

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module ActionText
  # Returns the currently loaded version of Action Text as a +Gem::Version+.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actiontext-7.1.4.2 lib/action_text/gem_version.rb