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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Convert an Enumerator object into a hash. This is equivalent to Array#to_h.
- !ruby/struct:SM::Flow::VERB 
  body: "  e1 = [[1,:a],[2,:b],[3,:c]].to_enum\n  e1.to_h #=&gt; { 1=&gt;:a, 2=&gt;:b, 3=&gt;:c }\n\n  e2 = [1,2,3,4,5].to_enum\n  e2.to_h  #=&gt; {5=&gt;nil, 1=&gt;2, 3=&gt;4}\n\n  e3 = [1,2,1,3,1,5].to_enum\n  e3.to_h #=&gt; {1=&gt;5}\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Sandor Sz\xC3\xBCcs"
full_name: Enumerator#to_h
is_singleton: false
name: to_h
params: (mode=nil)
visibility: public
