class method
self.version
Ruby on Rails 6.1.7.10
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 7
def self.version
VERSION::STRING
end
Defined in railties/lib/rails/version.rb line 7
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails