Module: Top4R::Version
- Defined in:
- lib/top4r/version.rb
Constant Summary collapse
- MAJOR =
0
- MINOR =
2
- REVISION =
1
Class Method Summary collapse
-
.to_name ⇒ Object
Returns X-Y-Z formatted version name.
-
.to_version ⇒ Object
Returns X.Y.Z formatted version string.
Class Method Details
.to_name ⇒ Object
Returns X-Y-Z formatted version name
14 15 16 |
# File 'lib/top4r/version.rb', line 14 def to_name "#{MAJOR}_#{MINOR}_#{REVISION}" end |
.to_version ⇒ Object
Returns X.Y.Z formatted version string
9 10 11 |
# File 'lib/top4r/version.rb', line 9 def to_version "#{MAJOR}.#{MINOR}.#{REVISION}" end |