Class: MtGox::Version
- Inherits:
-
Object
- Object
- MtGox::Version
- Defined in:
- lib/mtgox/version.rb
Class Method Summary collapse
Class Method Details
.major ⇒ Integer
6 7 8 |
# File 'lib/mtgox/version.rb', line 6 def major 1 end |
.minor ⇒ Integer
11 12 13 |
# File 'lib/mtgox/version.rb', line 11 def minor 1 end |
.patch ⇒ Integer
16 17 18 |
# File 'lib/mtgox/version.rb', line 16 def patch 0 end |
.pre ⇒ String, NilClass
21 22 23 |
# File 'lib/mtgox/version.rb', line 21 def pre nil end |
.to_s ⇒ String
26 27 28 |
# File 'lib/mtgox/version.rb', line 26 def to_s [major, minor, patch, pre].compact.join('.') end |