Module: Invoicing::Version

Defined in:
lib/invoicing/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.to_aObject


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

def to_a
  [MAJOR, MINOR, BUILD]
end

.to_sObject


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

def to_s
  to_a.join(".")
end