Module: TyrantManager::Version

Extended by:
Version
Included in:
Version
Defined in:
lib/tyrant_manager/version.rb

Constant Summary collapse

MAJOR =
1
MINOR =
7
BUILD =
7

Instance Method Summary collapse

Instance Method Details

#to_aObject



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

def to_a
  [MAJOR, MINOR, BUILD]
end

#to_hashObject



20
21
22
# File 'lib/tyrant_manager/version.rb', line 20

def to_hash
  { :major => MAJOR, :minor => MINOR, :build => BUILD }
end

#to_sObject



16
17
18
# File 'lib/tyrant_manager/version.rb', line 16

def to_s
  to_a.join(".")
end