module RuboCop::AST::HashElementNode

def key

Returns:
  • (Node) - the key of the hash element

Other tags:
    Note: - For keyword splats, this returns the whole node
def key
  node_parts[0]
end