Class: Rails::Application
- Inherits:
-
Engine
- Object
- Engine
- Rails::Application
- Defined in:
- lib/ext/rails/application.rb
Instance Method Summary collapse
Instance Method Details
#major_version ⇒ Object
13 14 15 |
# File 'lib/ext/rails/application.rb', line 13 def major_version version_info['version']['major'] end |
#minor_version ⇒ Object
17 18 19 |
# File 'lib/ext/rails/application.rb', line 17 def minor_version version_info['version']['minor'] end |
#patch_version ⇒ Object
21 22 23 |
# File 'lib/ext/rails/application.rb', line 21 def patch_version version_info['version']['patch'] end |
#version ⇒ Object
7 8 9 10 11 |
# File 'lib/ext/rails/application.rb', line 7 def version [major_version, minor_version, patch_version].join('.') end |