Sha256: 767f5ca89e0404d51732bef981839fba1c9c1f1b3a91e48e643d61c9caf9e51f

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

module Twitter
  class Version
    MAJOR = 4 unless defined? Twitter::Version::MAJOR
    MINOR = 6 unless defined? Twitter::Version::MINOR
    PATCH = 2 unless defined? Twitter::Version::PATCH
    PRE = nil unless defined? Twitter::Version::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
twitter-4.6.2 lib/twitter/version.rb