Fixed incorrect spelling of "predicate"

This commit is contained in:
Yorick Peterse 2015-08-14 15:42:22 +02:00
parent db93f845f3
commit 49a7c2c782
1 changed files with 2 additions and 2 deletions

View File

@ -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