class RuboCop::Cop::Style::BracesAroundHashParameters

def on_send(node)

def on_send(node)
  return if node.asgn_method_call?
  _receiver, method_name, *args = *node
  return if operator?(method_name)
  return if args.empty?
  return unless args.last.hash_type? && !args.last.pairs.empty?
  check(args.last, args)
end