aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/version.rb
blob: 86340bba37ee94c05c2ff1c17c5a0b6e7c7ca206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module ActiveModel
  # Returns the version of the currently loaded ActiveModel as a Gem::Version
  def self.version
    Gem::Version.new "4.1.0.beta"
  end

  module VERSION #:nodoc:
    MAJOR, MINOR, TINY, PRE = ActiveModel.version.segments
    STRING = ActiveModel.version.to_s
  end
end