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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new Enumerable::Enumerator object, which is to be used as an Enumerable object using the given object's given method with the given arguments.
- !ruby/struct:SM::Flow::P 
  body: "e.g.:"
- !ruby/struct:SM::Flow::VERB 
  body: "    str = &quot;xyz&quot;\n\n    enum = Enumerable::Enumerator.new(str, :each_byte)\n    a = enum.map {|b| '%02x' % b } #=&gt; [&quot;78&quot;, &quot;79&quot;, &quot;7a&quot;]\n"
full_name: Enumerable::Enumerator::new
is_singleton: true
name: new
params: |
  Enumerable::Enumerator.new(obj, method = :each, *args)

visibility: public
