Module: Top4R::Version

Defined in:
lib/top4r/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
2
REVISION =
3

Class Method Summary collapse

Class Method Details

.to_nameObject

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_versionObject

Returns X.Y.Z formatted version string



9
10
11
# File 'lib/top4r/version.rb', line 9

def to_version
  "#{MAJOR}.#{MINOR}.#{REVISION}"
end