Class: T::Version
- Inherits:
-
Object
- Object
- T::Version
- Defined in:
- lib/t/version.rb
Class Method Summary collapse
Class Method Details
.major ⇒ Integer
5 6 7 |
# File 'lib/t/version.rb', line 5 def self.major 0 end |
.minor ⇒ Integer
10 11 12 |
# File 'lib/t/version.rb', line 10 def self.minor 9 end |
.patch ⇒ Integer
15 16 17 |
# File 'lib/t/version.rb', line 15 def self.patch 1 end |
.to_s ⇒ String
25 26 27 |
# File 'lib/t/version.rb', line 25 def self.to_s [major, minor, patch, pre].compact.join('.') end |