Sha256: 75e705665778a7264227115680bfe4e5998f698c22ad3e08001c640f6d88ecb1

Contents?: true

Size: 350 Bytes

Versions: 4

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

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/gem_version.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/gem_version.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.4/lib/active_model/gem_version.rb
activemodel-6.1.4.4 lib/active_model/gem_version.rb