module Lingo::Version
Constants
- MAJOR
- MINOR
- TINY
Public Class Methods
next_minor()
click to toggle source
# File lib/lingo/version.rb, line 21 def next_minor to_s[0, 3].next end
to_a()
click to toggle source
Returns array representation.
# File lib/lingo/version.rb, line 12 def to_a [MAJOR, MINOR, TINY] end
to_s()
click to toggle source
Short-cut for version string.
# File lib/lingo/version.rb, line 17 def to_s to_a.join('.') end