Module: Lingo::Version

Defined in:
lib/lingo/version.rb

Constant Summary

MAJOR =
1
MINOR =
8
TINY =
5

Class Method Summary collapse

Class Method Details

.to_aObject

Returns array representation.



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

def to_a
  [MAJOR, MINOR, TINY]
end

.to_sObject

Short-cut for version string.



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

def to_s
  to_a.join('.')
end