Sha256: 5584a4cacb2a697283fe3a48637fcc369deaf2792a031150e3f1756fc321da1e

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 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 = 1
    TINY  = 5
    PRE   = nil

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/activemodel-5.1.5/lib/active_model/gem_version.rb
activemodel-5.1.5 lib/active_model/gem_version.rb