Sha256: 5e31ce9f59cc839da305131e1c7de75503d86d1c426363bf2348a29534c6dde5

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

# :markup: markdown

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 = 8
    MINOR = 0
    TINY  = 0
    PRE   = "beta1"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actiontext-8.0.0.beta1 lib/action_text/gem_version.rb