Module: Casper::Version

Defined in:
lib/casper/version.rb

Constant Summary collapse

MAJOR =
1
MINOR =
0
PATCH =
0
BUILD =
''

Class Method Summary collapse

Class Method Details

.versionObject



8
9
10
11
12
13
14
# File 'lib/casper/version.rb', line 8

def self.version
  if BUILD.empty?
    return [MAJOR, MINOR, PATCH].compact.join('.')
  else
    return [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
  end
end