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