Module: Top4R::Version
- Defined in:
- lib/top4r/version.rb
Constant Summary collapse
- MAJOR =
0- MINOR =
0- REVISION =
14
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
13 14 15 |
# File 'lib/top4r/version.rb', line 13 def to_name "#{MAJOR}_#{MINOR}_#{REVISION}" end |
.to_version ⇒ Object
Returns X.Y.Z formatted version string
8 9 10 |
# File 'lib/top4r/version.rb', line 8 def to_version "#{MAJOR}.#{MINOR}.#{REVISION}" end |