Module: Jekyll::Tagging::Version

Defined in:
lib/jekyll/tagging/version.rb

Constant Summary collapse

MAJOR =
1
MINOR =
1
TINY =
0

Class Method Summary collapse

Class Method Details

.to_aObject

Returns array representation.



14
15
16
# File 'lib/jekyll/tagging/version.rb', line 14

def to_a
  [MAJOR, MINOR, TINY]
end

.to_sObject

Short-cut for version string.



19
20
21
# File 'lib/jekyll/tagging/version.rb', line 19

def to_s
  to_a.join('.')
end