Sha256: 7d219c42f3a4069e8b910f7a914886a91c80e2eb4d5f58f426342053e2ebf2b5

Contents?: true

Size: 476 Bytes

Versions: 6

Compression:

Stored size: 476 Bytes

Contents

module RDF; module JSON
  module VERSION
    FILE = File.expand_path('../../../../VERSION', __FILE__)
    MAJOR, MINOR, TINY, EXTRA = File.read(FILE).chomp.split('.')
    STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.').freeze

    ##
    # @return [String]
    def self.to_s() STRING end

    ##
    # @return [String]
    def self.to_str() STRING end

    ##
    # @return [Array(Integer, Integer, Integer)]
    def self.to_a() [MAJOR, MINOR, TINY] end
  end
end; end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rdf-json-1.99.0 lib/rdf/json/version.rb
rdf-json-1.1.2.1 lib/rdf/json/version.rb
rdf-json-1.1.2 lib/rdf/json/version.rb
rdf-json-1.1.1 lib/rdf/json/version.rb
rdf-json-1.1.0 lib/rdf/json/version.rb
rdf-json-1.0.0 lib/rdf/json/version.rb