From 49a7c2c782efe1c85860d9e253f3ff28ffe2dbd0 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Fri, 14 Aug 2015 15:42:22 +0200 Subject: [PATCH] Fixed incorrect spelling of "predicate" --- lib/oga/xpath/compiler.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oga/xpath/compiler.rb b/lib/oga/xpath/compiler.rb index a0c6fd5..7ea0c95 100644 --- a/lib/oga/xpath/compiler.rb +++ b/lib/oga/xpath/compiler.rb @@ -434,7 +434,7 @@ module Oga if number?(predicate) on_predicate_index(test, predicate, input, &block) else - on_preidcate_expression(test, predicate, input, &block) + on_predicate_expression(test, predicate, input, &block) end end @@ -469,7 +469,7 @@ module Oga # @param [Oga::Ruby::Node] input # @return [Oga::Ruby::Node] # - def on_preidcate_expression(test, predicate, input) + def on_predicate_expression(test, predicate, input) process(test, input) do |matched_test_node| catch_message(:predicate_matched) do process(predicate, matched_test_node) do