Module: CurrentGem::Version

Defined in:
lib/current_gem/version.rb

Constant Summary

MAJOR =
0
MINOR =
0
TINY =
6

Class Method Summary (collapse)

Class Method Details

+ (Object) to_a

Returns array representation.



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

def to_a
  [MAJOR, MINOR, TINY]
end

+ (Object) to_s

Short-cut for version string.



17
18
19
# File 'lib/current_gem/version.rb', line 17

def to_s
  to_a.join('.')
end