values_at(*indices)
Instance Public methods
Returns an array of the values at the specified indices:
1 2 3 4 | hash = ActiveSupport::HashWithIndifferentAccess. new hash[ :a ] = 'x' hash[ :b ] = 'y' hash.values_at( 'a' , 'b' ) # => ["x", "y"] |
Please login to continue.