Method: RuboCop::Cop::RSpec::AroundBlock#hook_block
- Defined in:
- lib/rubocop/cop/rspec/around_block.rb
#hook_block(node) ⇒ Object
35 36 37 |
# File 'lib/rubocop/cop/rspec/around_block.rb', line 35 def_node_matcher :hook_block, <<~PATTERN (block (send nil? :around sym ?) (args $...) ...) PATTERN |