lib/rdf/turtle/reader.rb in rdf-turtle-0.3.0 vs lib/rdf/turtle/reader.rb in rdf-turtle-0.3.1

- old
+ new

@@ -368,12 +368,17 @@ @bnode_cache[value.to_s] ||= RDF::Node.new(value) end ## # Progress output when debugging - # param [String] node relative location in input - # param [String] message ("") - # yieldreturn [String] added to message + # @overload debug(node, message) + # @param [String] node relative location in input + # @param [String] message ("") + # + # @overload debug(message) + # @param [String] message ("") + # + # @yieldreturn [String] added to message def debug(*args) return unless @options[:debug] || RDF::Turtle.debug? options = args.last.is_a?(Hash) ? args.pop : {} debug_level = options.fetch(:level, 1) return unless debug_level <= DEBUG_LEVEL