Method: Rails.version

Defined in:
railties/lib/rails/version.rb

.versionObject

Returns the currently loaded version of Rails as a string.



7
8
9
# File 'railties/lib/rails/version.rb', line 7

def self.version
  VERSION::STRING
end