class RuboCop::Cop::Lint::FormatParameterMismatch
def format_method?(name, node)
def format_method?(name, node) receiver, method_name, *args = *node if receiver && receiver.const_type? return false unless receiver.loc.name.is?(KERNEL) end return false unless method_name == name args.size > 1 && args.first.str_type? end