Class: Keybox::Version

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

Constant Summary collapse

MAJOR =
1
MINOR =
2
BUILD =
1

Class Method Summary collapse

Class Method Details

.to_aObject



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

def to_a
    [MAJOR, MINOR, BUILD]
end

.to_sObject



14
15
16
# File 'lib/keybox/version.rb', line 14

def to_s
    to_a.join(".")
end