Sha256: d8f7f54fe317a32bb958b7743ed3f2451d2d044a606001ea524ceb6966c0d232

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

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 = 4
    MINOR = 2
    TINY  = 1
    PRE   = nil

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

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre vendor/bundle/gems/activemodel-4.2.1/lib/active_model/gem_version.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/activemodel-4.2.1/lib/active_model/gem_version.rb
activemodel-4.2.1 lib/active_model/gem_version.rb