Corrected various YARD tags.
This commit is contained in:
parent
a0ecba6321
commit
54e109bf97
|
@ -342,7 +342,7 @@ module Oga
|
|||
##
|
||||
# Called on regular text values.
|
||||
#
|
||||
# @param [String] text
|
||||
# @param [String] value
|
||||
#
|
||||
def on_text(value)
|
||||
unless value.empty?
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -133,8 +133,6 @@ end
|
|||
##
|
||||
# @param [String] data The input to parse.
|
||||
#
|
||||
# @param [Hash] options
|
||||
#
|
||||
def initialize(data)
|
||||
@data = data
|
||||
@lexer = Lexer.new(data)
|
||||
|
|
Loading…
Reference in New Issue