Sha256: a63791494fa38a0cfa2c4a29ec2a953c0c7ac501910cae46d4e0270945e3de18

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

module Retryable
  class Version
    MAJOR = 1 unless defined? Retryable::Version::MAJOR
    MINOR = 3 unless defined? Retryable::Version::MINOR
    PATCH = 3 unless defined? Retryable::Version::PATCH

    class << self

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
retryable-1.3.3 lib/version.rb