From 29459ae778e0a795ce8892a341d225e0c4447cd5 Mon Sep 17 00:00:00 2001 From: Viacheslav Mefodin Date: Mon, 17 Aug 2020 09:38:01 +0300 Subject: [PATCH] Fix find_all_in_scope method docs --- lib/rubocop/rspec/example_group.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rubocop/rspec/example_group.rb b/lib/rubocop/rspec/example_group.rb index fe658d436..d9437d8f7 100644 --- a/lib/rubocop/rspec/example_group.rb +++ b/lib/rubocop/rspec/example_group.rb @@ -37,6 +37,7 @@ def hooks # Searches node and halts when a scope change is detected # # @param node [RuboCop::AST::Node] node to recursively search + # @param predicate [Symbol] method to call with node as argument # # @return [Array] discovered nodes def find_all_in_scope(node, predicate)