Sha256: aa104bb8086745fa72760bbaaa5d481ed9d6392a86e0aaa7eca3ca3b85115c8c

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