class RuboCop::Cop::Style::FormatString

def format_single_parameter(arg)

def format_single_parameter(arg)
  source = arg.source
  return "{ #{source} }" if arg.hash_type?
  arg.send_type? && arg.operator_method? && !arg.parenthesized? ? "(#{source})" : source
end