Method: RuboCop::Cop::InternalAffairs::RedundantMessageArgument#node_type_check
- Defined in:
- lib/rubocop/cop/internal_affairs/redundant_message_argument.rb
#node_type_check(node) ⇒ Object
26 27 28 |
# File 'lib/rubocop/cop/internal_affairs/redundant_message_argument.rb', line 26 def_node_matcher :node_type_check, <<~PATTERN (send nil? :add_offense _node $hash) PATTERN |