Skip to content

Commit b42f401

Browse files
authored
Merge pull request #1060 from rubocop-hq/fix-documentation
Fix find_all_in_scope method docs
2 parents 21e4cb7 + 6a6a367 commit b42f401

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rubocop/rspec/example_group.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def hooks
3737
# Searches node and halts when a scope change is detected
3838
#
3939
# @param node [RuboCop::AST::Node] node to recursively search
40+
# @param predicate [Symbol] method to call with node as argument
4041
#
4142
# @return [Array<RuboCop::AST::Node>] discovered nodes
4243
def find_all_in_scope(node, predicate)

0 commit comments

Comments
 (0)