spec/jruby_spec.rb
# Serialize  @graph to a string and compare against regexps
Serialize  @graph to a string and compare against regexps
Serialize @graph to a string and compare against regexps
def serialize(**options)
    @debug = []
    result = RDF::RDFXML::Writer.buffer(logger: false, standard_prefixes: true, **options) do |writer|
      writer << @graph
    end
    require 'cgi'
    puts CGI.escapeHTML(result) if $verbose
    result
  end
def serialize ( ** options ) @debug = [ ] result = RDF :: RDFXML :: Writer . buffer ( logger : false , standard_prefixes : true , ** options ) do | writer | writer << @graph end require 'cgi' puts CGI . escapeHTML ( result ) if $verbose result end
Serialize  @graph to a string and compare against regexps
Serialize @graph to a string and compare against regexps
options
<not_specific>