Module: Crate::Version

Defined in:
lib/crate/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
2
BUILD =
1
STRING =
Version.to_s

Class Method Summary collapse

Class Method Details

.to_aObject



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

def to_a 
  [MAJOR, MINOR, BUILD]
end

.to_sObject



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

def to_s
  to_a.join(".")
end