class RuboCop::Cop::Performance::DoubleStartEndWith

def on_or(node)

def on_or(node)
  receiver, method, first_call_args, second_call_args = process_source(node)
  return unless receiver && second_call_args.all?(&:pure?)
  combined_args = combine_args(first_call_args, second_call_args)
  add_offense(node, message: message(node, receiver, first_call_args, method, combined_args)) do |corrector|
    autocorrect(corrector, first_call_args, second_call_args, combined_args)
  end
end