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

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