Corrected various YARD tags.

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

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?

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)

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)