Module: RTFS::Version

Defined in:
lib/rtfs/version.rb

Overview

Version for RTFS by nowa<[email protected]> 2011-07-23

Constant Summary collapse

MAJOR =
0
MINOR =
2
REVISION =
0

Class Method Summary collapse

Class Method Details

.to_nameObject

Returns X-Y-Z formatted version name



17
18
19
# File 'lib/rtfs/version.rb', line 17

def to_name
  "#{MAJOR}_#{MINOR}_#{REVISION}"
end

.to_versionObject

Returns X.Y.Z formatted version string



12
13
14
# File 'lib/rtfs/version.rb', line 12

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