From a6cd19933d3ee48cc93d6d5351d2bc232e04d8ac Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 6 Sep 2016 22:32:10 +0200 Subject: [PATCH] Fixed some YARD markup in XML::Generator --- lib/oga/xml/generator.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/oga/xml/generator.rb b/lib/oga/xml/generator.rb index f47d959..b1f3e83 100644 --- a/lib/oga/xml/generator.rb +++ b/lib/oga/xml/generator.rb @@ -13,7 +13,7 @@ module Oga # # @private class Generator - # @param [Oga::XML::Document|Oga::XML::Node] start The node to serialise. + # @param [Oga::XML::Document|Oga::XML::Node] root The node to serialise. def initialize(root) @start = root @@ -112,7 +112,7 @@ module Oga end # @param [Oga::XML::Element] element - # @param [String] body The content of the element. + # @param [String] output The content of the element. def on_element(element, output) name = element.expanded_name attrs = '' @@ -156,7 +156,7 @@ module Oga output << '>' end - # @param [Oga::XML::Document] node + # @param [Oga::XML::Document] doc # @param [String] output def on_document(doc, output) if doc.xml_declaration