lib/rubocop/rspec/hook.rb in rubocop-rspec-2.2.0 vs lib/rubocop/rspec/hook.rb in rubocop-rspec-2.3.0
- old
+ new
@@ -2,9 +2,10 @@
module RuboCop
module RSpec
# Wrapper for RSpec hook
class Hook < Concept
+ # @!method extract_metadata(node)
def_node_matcher :extract_metadata, <<~PATTERN
(block
(send _ _ #valid_scope? ? $...) ...
)
PATTERN