class RuboCop::Cop::Performance::DoubleStartEndWith
def message(node, receiver, first_call_args, method, combined_args)
def message(node, receiver, first_call_args, method, combined_args) dot = first_call_args.first.parent.send_type? ? '.' : '&.' replacement = "#{receiver.source}#{dot}#{method}(#{combined_args})" format(MSG, replacement: replacement, original_code: node.source) end