From fd37bcff1f8645b9c9f62c875271966ff6a69468 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 23 Jul 2014 18:48:53 +0200 Subject: [PATCH] Corrected an XPath example. --- lib/oga/xpath/evaluator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oga/xpath/evaluator.rb b/lib/oga/xpath/evaluator.rb index 089aae3..bdf12cf 100644 --- a/lib/oga/xpath/evaluator.rb +++ b/lib/oga/xpath/evaluator.rb @@ -18,7 +18,7 @@ module Oga # @example # evaluator = Oga::XPath::Evaluator.new(document) # - # evaluator.evaluate('//a/)') + # evaluator.evaluate('//a') # # @param [String] string An XPath expression as a String. # @return [Oga::XML::Node]