Sha256: a7d465cbf4dd8d1f813f97e8d21f8f59e45b0ff57e186fd892333b3b8cdd1bce

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

module ActionText
  # Returns the currently-loaded version of Action Text 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/actiontext-6.0.2.1/lib/action_text/gem_version.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/actiontext-6.0.2.1/lib/action_text/gem_version.rb
actiontext-6.0.2.1 lib/action_text/gem_version.rb