Sha256: c9ebd1eec4b645c5851fe428fe9000d8daae63ab6201ee66e5e4bf0f238496fd

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 = 7
    MINOR = 0
    TINY  = 3
    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-7.0.3.1/lib/action_text/gem_version.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actiontext-7.0.3.1/lib/action_text/gem_version.rb
actiontext-7.0.3.1 lib/action_text/gem_version.rb