Sha256: 17013eab528fd83de6897c1fe370eb17310791f5606ecdf94db4e005358f10f2

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

module MtGox
  class Version

    # @return [Integer]
    def self.major
      0
    end

    # @return [Integer]
    def self.minor
      8
    end

    # @return [Integer]
    def self.patch
      2
    end

    # @return [String, NilClass]
    def self.pre
      nil
    end

    # @return [String]
    def self.to_s
      [major, minor, patch, pre].compact.join('.')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtgox-0.8.2 lib/mtgox/version.rb