class method
self.version
Ruby on Rails 4.1.16
Since v2.2.3Signature
self.version()
Returns the version of the currently loaded Rails as a string.
Source
# File railties/lib/rails/version.rb, line 5
def self.version
VERSION::STRING
end
Defined in railties/lib/rails/version.rb line 5
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails