Flowdock
method

values_at

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: HashWithIndifferentAccess

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

These similar methods exist in v4.0.2:

values_at(*indices) public

Returns an array of the values at the specified indices:

  hash = HashWithIndifferentAccess.new
  hash[:a] = "x"
  hash[:b] = "y"
  hash.values_at("a", "b") # => ["x", "y"]
Show source
Register or log in to add new notes.