Method: RDF::NTriples::Writer#format_node
- Defined in:
- lib/rdf/ntriples/writer.rb
#format_node(node, unique_bnodes: false, **options) ⇒ String
Returns the N-Triples representation of a blank node.
244 245 246 |
# File 'lib/rdf/ntriples/writer.rb', line 244 def format_node(node, unique_bnodes: false, **) unique_bnodes ? node.to_unique_base : node.to_s end |