module MtGox class Version # @return [Integer] def self.major 0 end # @return [Integer] def self.minor 7 end # @return [Integer] def self.patch 5 end # @return [String, NilClass] def self.pre nil end # @return [String] def self.to_s [major, minor, patch, pre].compact.join('.') end end end