module Cany module VERSION MAJOR = 0 MINOR = 5 PATCH = 7 STAGE = nil STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.') def self.to_s; STRING end end end