rails--rails/activemodel/lib/active_model/version.rb

12 lines
291 B
Ruby
Raw Normal View History

module ActiveModel
# Returns the version of the currently loaded ActiveModel as a Gem::Version
def self.version
2014-02-23 12:14:43 +00:00
Gem::Version.new "4.2.0.alpha"
end
module VERSION #:nodoc:
MAJOR, MINOR, TINY, PRE = ActiveModel.version.segments
STRING = ActiveModel.version.to_s
end
end