lib/sxp/version.rb in sxp-0.0.1 vs lib/sxp/version.rb in sxp-0.0.2

- old
+ new

@@ -1,14 +1,23 @@ module SXP - module VERSION #:nodoc: + module VERSION MAJOR = 0 MINOR = 0 - TINY = 1 + TINY = 2 EXTRA = nil STRING = [MAJOR, MINOR, TINY].join('.') - STRING << "-#{EXTRA}" if EXTRA + STRING << ".#{EXTRA}" if EXTRA - def self.to_s() STRING end + ## + # @return [String] + def self.to_s() STRING end + + ## + # @return [String] def self.to_str() STRING end + + ## + # @return [Array(Integer, Integer, Integer)] + def self.to_a() [MAJOR, MINOR, TINY] end end end