Sha256: ef9f346df698ee6204aee9b37e53876073e9fce66886141f1f5716cabfa26159

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module ActiveModel
  # Returns the version of the currently loaded \Active \Model 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/activemodel-6.0.2.1/lib/active_model/gem_version.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/activemodel-6.0.2.1/lib/active_model/gem_version.rb
activemodel-6.0.2.1 lib/active_model/gem_version.rb