Sha256: 4e6609a0cbdd5ceff2770a6a56bfe6482cd52ff802fd6ade0031768eb32471b7

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module Twurl
  class Version
    MAJOR = 0 unless defined? Twurl::Version::MAJOR
    MINOR = 9 unless defined? Twurl::Version::MINOR
    PATCH = 4 unless defined? Twurl::Version::PATCH
    PRE = nil unless defined? Twurl::Version::PRE # Time.now.to_i.to_s

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

  VERSION = Version.to_s
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twurl-0.9.4 lib/twurl/version.rb