Sha256: f84510c56e80dc6e130476086871ecf578f2fd24712fb671c9853cd11ab9dc0d

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