Sha256: 97070c048056c3e6cc44129539fe186a54212d67f0357a45267f970111ebf0e2

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 = 1
    TINY  = 6
    PRE   = "1"

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actiontext-6.1.6.1/lib/action_text/gem_version.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actiontext-6.1.6.1/lib/action_text/gem_version.rb
actiontext-6.1.6.1 lib/action_text/gem_version.rb