class RuboCop::Cop::Layout::SpaceInsideHashLiteralBraces

def hash_literal_with_braces(node)

def hash_literal_with_braces(node)
  tokens = processed_source.tokens
  begin_index = index_of_first_token(node)
  return unless tokens[begin_index].left_brace?
  end_index = index_of_last_token(node)
  return unless tokens[end_index].right_curly_brace?
  yield begin_index, end_index
end