aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/version.rb
blob: f2b041ad97ed58f9dcefbb2c5077546b2be0f89e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module ActiveRecord
  # Returns the version of the currently loaded ActiveRecord as a Gem::Version
  def self.version
    Gem::Version.new "4.0.0.beta1"
  end

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