Sha256: 48947bac95ef42d44e76cc64b48995b5cc07f221f910a6f6ae982e6624e5791a

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

module MultiJson
  class Version
    MAJOR = 1 unless defined? MultiJson::Version::MAJOR
    MINOR = 9 unless defined? MultiJson::Version::MINOR
    PATCH = 3 unless defined? MultiJson::Version::PATCH
    PRE = nil unless defined? MultiJson::Version::PRE

    class << self

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

    end

  end

  VERSION = Version.to_s.freeze
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multi_json-1.9.3 lib/multi_json/version.rb