Module: LibTom::Math::Version

Defined in:
lib/libtom/math/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.to_aObject



8
9
10
# File 'lib/libtom/math/version.rb', line 8

def to_a
    [MAJOR, MINOR, BUILD]
end

.to_sObject



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

def to_s
    to_a.join(".")
end