lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-1.10.0 vs lib/rubocop/cop/lint/format_parameter_mismatch.rb in rubocop-1.11.0
- old
+ new
@@ -90,9 +90,10 @@
else
expected != passed
end
end
+ # @!method called_on_string?(node)
def_node_matcher :called_on_string?, <<~PATTERN
{(send {nil? const_type?} _ (str _) ...)
(send (str ...) ...)}
PATTERN