Sha256: c6f680911092bfeb2d38ce4b96d3c6287d76a5701435b1d3d8a59779c663a86f

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module ActiveModel
  # Returns the currently loaded version of \Active \Model as a +Gem::Version+.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 7
    MINOR = 1
    TINY  = 3
    PRE   = "4"

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

Version data entries

5 entries across 5 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activemodel-7.1.3.4/lib/active_model/gem_version.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activemodel-7.1.3.4/lib/active_model/gem_version.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/activemodel-7.1.3.4/lib/active_model/gem_version.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/activemodel-7.1.3.4/lib/active_model/gem_version.rb
activemodel-7.1.3.4 lib/active_model/gem_version.rb