Module: Top4R::Version

Defined in:
lib/top4r/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
0
REVISION =
23

Class Method Summary collapse

Class Method Details

.to_nameObject

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_versionObject

Returns X.Y.Z formatted version string



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

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