module TimecopConsole class Version MAJOR ||= 0 MINOR ||= 3 PATCH ||= 1 class << self def to_s [MAJOR, MINOR, PATCH].compact.join('.') end end end end