Class: Acrylic::Version

Inherits:
Object show all
Defined in:
lib/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
1
HOTFIX =
1

Class Method Summary collapse

Class Method Details

.semverObject



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

def self.semver
  "#{MAJOR}.#{MINOR}.#{HOTFIX}"
end

.versionObject



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

def self.version
  "#{MAJOR}.#{MINOR}#{(HOTFIX - 1 + 'a'.ord).chr if HOTFIX > 0}"
end