lib/mtgox/version.rb in mtgox-0.9.1 vs lib/mtgox/version.rb in mtgox-1.0.0
- old
+ new
@@ -1,30 +1,32 @@
module MtGox
class Version
+ class << self
- # @return [Integer]
- def self.major
- 0
- end
+ # @return [Integer]
+ def major
+ 1
+ end
- # @return [Integer]
- def self.minor
- 9
- end
+ # @return [Integer]
+ def minor
+ 0
+ end
- # @return [Integer]
- def self.patch
- 1
- end
+ # @return [Integer]
+ def patch
+ 0
+ end
- # @return [String, NilClass]
- def self.pre
- nil
- end
+ # @return [String, NilClass]
+ def pre
+ nil
+ end
- # @return [String]
- def self.to_s
- [major, minor, patch, pre].compact.join('.')
- end
+ # @return [String]
+ def to_s
+ [major, minor, patch, pre].compact.join('.')
+ end
+ end
end
end