Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Enumerable/Enumerator/new-c.yaml |
--- !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: Use of this method is discouraged. Use Kernel#enum_for() instead.
full_name: Enumerable::Enumerator::new
is_singleton: true
name: new
params: |
Enumerable::Enumerator.new(obj, method = :each, *args)
visibility: public