Sha256: 0c4c64c4eed5846ea055cd411a44fdd58af98046b85452276bb6edde225ef566

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

module Twurl
  class Version
    MAJOR = 0 unless defined? Twurl::Version::MAJOR
    MINOR = 8 unless defined? Twurl::Version::MINOR
    PATCH = 2 unless defined? Twurl::Version::PATCH
    BETA = nil unless defined? Twurl::Version::BETA # Time.now.to_i.to_s

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

  VERSION = Version.to_s
end

Version data entries

1 entries across 1 versions & 1 rubygems

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