lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-2.2.1 vs lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-3.1.0

- old
+ new

@@ -225,10 +225,10 @@ ## # Initializes the underlying XML library. # # @param [Hash{Symbol => Object}] options # @return [void] - def initialize_xml(input, options = {}) + def initialize_xml(input, **options) require 'nokogiri' unless defined?(::Nokogiri) @doc = case input when ::Nokogiri::XML::Document input else