Sha256: 78459b3044164015cdcbc8e7d54d779dcedeac50d138a6944ec278935aa2325f

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

module SimpleHttp
  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
simple_http-0.1.1 lib/simple_http/version.rb