Method: RuboCop::Cop::InternalAffairs::RedundantMessageArgument#node_type_check

Defined in:
lib/rubocop/cop/internal_affairs/redundant_message_argument.rb

#node_type_check(node) ⇒ Object



30
31
32
# File 'lib/rubocop/cop/internal_affairs/redundant_message_argument.rb', line 30

def_node_matcher :node_type_check, <<~PATTERN
  (send nil? :add_offense $_node $hash)
PATTERN