Files
ruby-sdk/lib/qiniu/rs/version.rb
T
2014-03-06 15:36:44 +08:00

20 lines
385 B
Ruby
Executable File

# -*- encoding: utf-8 -*-
module Qiniu
module RS
module Version
MAJOR = 3
MINOR = 4
PATCH = 7
# Returns a version string by joining <tt>MAJOR</tt>, <tt>MINOR</tt>, and <tt>PATCH</tt> with <tt>'.'</tt>
#
# Example
#
# Version.to_s # '1.0.2'
def self.to_s
[MAJOR, MINOR, PATCH].join('.')
end
end
end
end