class RuboCop::AST::HashNode

def values

Returns:
  • (Array) - an array of values in the `hash` literal
def values
  each_pair.map(&:value)
end