File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 require 'linkeddata'
99rescue LoadError
1010 # Silently load without linkeddata, but try some others
11- %w( reasoner rdfa rdfxml turtle vocab json/ld ld/patch ) . each do |ser |
11+ %w( microdata n3 rdfa rdfxml reasoner tabular trig trix turtle vocab xsd json/ld ld/patch ) . each do |ser |
1212 begin
1313 require ser . include? ( '/' ) ? ser : "rdf/#{ ser } "
1414 rescue LoadError
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
2+ require 'cli'
3+
24module RDF
35 ##
46 # The base class for RDF parsers.
Original file line number Diff line number Diff line change 11require 'rdf'
22require 'rdf/vocabulary'
33require 'cgi'
4+ require 'cli'
45
56module RDF
67 ##
Original file line number Diff line number Diff line change 11# -*- encoding: utf-8 -*-
2+ require 'cli'
3+
24module RDF
35 ##
46 # The base class for RDF serializers.
You can’t perform that action at this time.
0 commit comments