module ActiveModel # Returns the version of the currently loaded ActiveModel as a Gem::Version def self.version 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