Skip to content

Commit

Permalink
Merge pull request #1060 from rubocop-hq/fix-documentation
Browse files Browse the repository at this point in the history
Fix find_all_in_scope method docs
  • Loading branch information
pirj committed Oct 23, 2020
2 parents 21e4cb7 + 6a6a367 commit b42f401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rubocop/rspec/example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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<RuboCop::AST::Node>] discovered nodes
def find_all_in_scope(node, predicate)
Expand Down

0 comments on commit b42f401

Please sign in to comment.