Sha256: 1e4ca33dabe7b59fbd8556212b7ca8587a20eaa2509495b35ed3d7ed36d66e64

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

module ActiveModel
  # Returns the version of the currently loaded ActiveModel as a <tt>Gem::Version</tt>
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 4
    MINOR = 1
    TINY  = 1
    PRE   = nil

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activemodel-4.1.1 lib/active_model/gem_version.rb