Class: Tuttle::VersionDetector
- Inherits:
-
Object
- Object
- Tuttle::VersionDetector
- Defined in:
- app/models/tuttle/version_detector.rb
Class Method Summary collapse
Class Method Details
.rails_major_minor ⇒ Object
5 6 7 |
# File 'app/models/tuttle/version_detector.rb', line 5 def self.rails_major_minor @rails_major_minor ||= Rails::VERSION::STRING.slice(0, 3) end |