module Cureutils class Version MAJOR = 0 MINOR = 2 PATCH = 1 PRE = nil class << self # @return [String] def to_s [MAJOR, MINOR, PATCH, PRE].compact.join('.') end end end end