lib/open311/version.rb in open311-0.2.3 vs lib/open311/version.rb in open311-0.3.0

- old
+ new

@@ -1,3 +1,15 @@ module Open311 - VERSION = "0.2.3" + class Version + MAJOR = 0 + MINOR = 3 + PATCH = 0 + PRE = nil + + class << self + # @return [String] + def to_s + [MAJOR, MINOR, PATCH, PRE].compact.join('.') + end + end + end end