Module: TyrantManager::Version
Constant Summary collapse
- MAJOR =
1
- MINOR =
7
- BUILD =
7
Instance Method Summary collapse
Instance Method Details
#to_a ⇒ Object
12 13 14 |
# File 'lib/tyrant_manager/version.rb', line 12 def to_a [MAJOR, MINOR, BUILD] end |
#to_hash ⇒ Object
20 21 22 |
# File 'lib/tyrant_manager/version.rb', line 20 def to_hash { :major => MAJOR, :minor => MINOR, :build => BUILD } end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/tyrant_manager/version.rb', line 16 def to_s to_a.join(".") end |