Corrected various YARD tags.

This commit is contained in:
Yorick Peterse committed 2014-07-22 21:28:44 +02:00
1 parent a0ecba6321
commit 54e109bf97
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ module Oga
##
# Called on regular text values.
#
# @param [String] text
# @param [String] value
#
def on_text(value)
unless value.empty?
+1 -2
View File
@@ -330,7 +330,6 @@ Unexpected #{name} with value #{value.inspect} on line #{@line}:
# @param [String] namespace
# @param [String] name
# @param [Hash] attributes
# @param [Array] children
# @return [Oga::XML::Element]
#
def on_element(namespace, name, attributes = {})
@@ -355,7 +354,7 @@ Unexpected #{name} with value #{value.inspect} on line #{@line}:
end
##
# @param [Oga::XML::Element]
# @param [Oga::XML::Element] element
# @return [Oga::XML::Element]
#
def after_element(element)
-2
View File
@@ -133,8 +133,6 @@ end
##
# @param [String] data The input to parse.
#
# @param [Hash] options
#
def initialize(data)
@data = data
@lexer = Lexer.new(data)