Method: Mash#values_at
- Defined in:
- lib/extlib/mash.rb
#values_at(*indices) ⇒ Array
Returns The values at each of the provided keys.
84 85 86 |
# File 'lib/extlib/mash.rb', line 84 def values_at(*indices) indices.collect {|key| self[convert_key(key)]} end |