Sha256: fe3479d4a860c714c61d4ae7760a21ac2515f1ab3f84b99e1daf7947f44eba97

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 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 = 5
    MINOR = 0
    TINY  = 0
    PRE   = "beta1.1"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activemodel-5.0.0.beta1.1 lib/active_model/gem_version.rb