Sha256: fd647fda49fa9e0d061aa34ac6f4098dfcc966fe8aad64e0695f369a8ed20fc4

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

module Yammer
  class Version
    MAJOR = 0 unless defined? Yammer::MAJOR
    MINOR = 1 unless defined? Yammer::MINOR
    PATCH = 2 unless defined? Yammer::PATCH
    PRE = nil unless defined? Yammer::PRE

    class << self

      # @return [String]
      def to_s
        [MAJOR, MINOR, PATCH, PRE].compact.join('.')
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yammer-client-0.1.2 lib/yammer/version.rb