Corrected docs of the parse() helper method.
This commit is contained in:
parent
73c5dbe636
commit
331d70e832
|
@ -54,11 +54,9 @@ module Oga
|
|||
end
|
||||
|
||||
##
|
||||
# Parses the given XML and returns an AST.
|
||||
#
|
||||
# @param [String] input
|
||||
# @param [Hash] options
|
||||
# @return [Oga::AST::Node]
|
||||
# @return [Oga::XML::Document]
|
||||
#
|
||||
def parse(input, options = {})
|
||||
return Oga::XML::Parser.new(input, options).parse
|
||||
|
|
Loading…
Reference in New Issue