aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/version.rb
blob: 58ba3ab9b20464ffaf0118a59d20d891e7d6d92e (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.beta1"
  end

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