AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Hash/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Hash/values_at-i.yaml |
--- !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