class RuboCop::AST::HashNode

def values

Returns:
  • (Array) - an array of values in the `hash` literal

Other tags:
    Note: - `kwsplat` nodes are ignored.
def values
  each_pair.map(&:value)
end