Corrected an XPath example.
This commit is contained in:
parent
1941b133ec
commit
fd37bcff1f
|
@ -18,7 +18,7 @@ module Oga
|
||||||
# @example
|
# @example
|
||||||
# evaluator = Oga::XPath::Evaluator.new(document)
|
# evaluator = Oga::XPath::Evaluator.new(document)
|
||||||
#
|
#
|
||||||
# evaluator.evaluate('//a/)')
|
# evaluator.evaluate('//a')
|
||||||
#
|
#
|
||||||
# @param [String] string An XPath expression as a String.
|
# @param [String] string An XPath expression as a String.
|
||||||
# @return [Oga::XML::Node]
|
# @return [Oga::XML::Node]
|
||||||
|
|
Loading…
Reference in New Issue