Sha256: 61efc521dc8e4d0cd1aa98fe7085e3d3ac3c10d57c81f475dba96863117a25c6

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 = 1 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.1 lib/yammer/version.rb