/* * call-seq: * enum_with_index * * Returns Enumerable::Enumerator.new(self, :each_with_index). * */ static VALUE enumerator_enum_with_index(obj) VALUE obj; { return rb_funcall(rb_cEnumerator, id_new, 2, obj, sym_each_with_index); }