lib/json/ld/writer.rb in json-ld-1.1.8 vs lib/json/ld/writer.rb in json-ld-1.1.9

- old
+ new

@@ -63,16 +63,10 @@ # @!attribute [r] context # @return [Context] context used to load and administer contexts attr_reader :context ## - # Override normal symbol generation - def self.to_sym - :jsonld - end - - ## # Initializes the RDF-LD writer instance. # # @param [IO, File] output # the output stream # @param [Hash{Symbol => Object}] options @@ -110,19 +104,9 @@ when 0 then instance_eval(&block) else block.call(self) end end end - end - - ## - # Write whole graph - # - # @param [Graph] graph - # @return [void] - def write_graph(graph) - debug {"Add graph #{graph.inspect}"} - @repo = graph end ## # Adds a statement to be serialized # @param [RDF::Statement] statement