Method: RuboCop::Cop::InternalAffairs::RedundantMessageArgument#redundant_message_argument
- Defined in:
- lib/rubocop/cop/internal_affairs/redundant_message_argument.rb
#redundant_message_argument(node) ⇒ Object
35 36 37 38 39 |
# File 'lib/rubocop/cop/internal_affairs/redundant_message_argument.rb', line 35 def_node_matcher :redundant_message_argument, <<~PATTERN (pair (sym :message) ${(const nil? :MSG) (send nil? :message) (send nil? :message _)}) PATTERN |