Method: RuboCop::Cop::Security::CompoundHash#static_hash_method_definition?
- Defined in:
- lib/rubocop/cop/security/compound_hash.rb
#static_hash_method_definition?(node) ⇒ Object
52 53 54 55 56 |
# File 'lib/rubocop/cop/security/compound_hash.rb', line 52 def_node_matcher :static_hash_method_definition?, <<~PATTERN ({def | defs _} :hash (args) _) PATTERN |