module PerseusMatch::Version

Constants

MAJOR
MINOR
TINY

Public Class Methods

to_a() click to toggle source

Returns array representation.

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

Short-cut for version string.

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