Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
values_at « Hash « Ruby
Ruby
Hash
values_at
1.
Retrieve the values out of a hash based on one or more keys with values_at, also placing the value or values in an array:
2.
values_at(key) Returns an array consisting of values for the given key(s).