module LibCDB::CDB::Version

Constants

MAJOR
MINOR
TINY

Public Class Methods

to_a() click to toggle source

Returns array representation.

# File lib/libcdb/version.rb, line 14
def to_a
  [MAJOR, MINOR, TINY]
end
to_s() click to toggle source

Short-cut for version string.

# File lib/libcdb/version.rb, line 19
def to_s
  to_a.join('.')
end