Sha256: e7b9617c97829415fc74be6a9377e95c168e1fa708aa77da7441f807e5bcb925

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
      7
    end

    # @return [Integer]
    def self.patch
      3
    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.7.3 lib/mtgox/version.rb