D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Hash
/
Filename :
values_at-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return an array containing the values associated with the given keys. Also see <tt>Hash.select</tt>. - !ruby/struct:SM::Flow::VERB body: " h = { "cat" => "feline", "dog" => "canine", "cow" => "bovine" }\n h.values_at("cow", "cat") #=> ["bovine", "feline"]\n" full_name: Hash#values_at is_singleton: false name: values_at params: | hsh.values_at(key, ...) => array visibility: public