values

.values()

Returns an array holding all of the values held in this hash.

player = {
        :name => 'Brian',
        :age => 24,
        :type => 'Archer'
}

// returns an array holding 'Brian', 24 and 'Archer'
vals = player.values()

See also

keys