AlkantarClanX12

Your IP : 3.146.34.148


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Hash/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Hash/to_a-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Converts <em>hsh</em> to a nested array of <tt>[</tt> <em>key, value</em> <tt>]</tt> arrays.
- !ruby/struct:SM::Flow::VERB 
  body: "   h = { &quot;c&quot; =&gt; 300, &quot;a&quot; =&gt; 100, &quot;d&quot; =&gt; 400, &quot;c&quot; =&gt; 300  }\n   h.to_a   #=&gt; [[&quot;a&quot;, 100], [&quot;c&quot;, 300], [&quot;d&quot;, 400]]\n"
full_name: Hash#to_a
is_singleton: false
name: to_a
params: |
  hsh.to_a -> array

visibility: public