Ruby: enumerator Struct Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

Data Fields
enumerator Struct Reference

## Data Fields
VALUE | obj
ID | meth
VALUE | args
VALUE | fib
VALUE | dst
VALUE | lookahead
VALUE | feedvalue
VALUE | stop_exc
VALUE | size
VALUE | procs
rb_enumerator_size_func * | size_fn
int | kw_splat

## Detailed Description

Definition at line 183 of file enumerator.c.

## Field Documentation

## ◆ args

VALUE enumerator::args

Definition at line 186 of file enumerator.c.

## ◆ dst

VALUE enumerator::dst

Definition at line 188 of file enumerator.c.

## ◆ feedvalue

VALUE enumerator::feedvalue

Definition at line 190 of file enumerator.c.

## ◆ fib

VALUE enumerator::fib

Definition at line 187 of file enumerator.c.

## ◆ kw_splat

int enumerator::kw_splat

Definition at line 195 of file enumerator.c.

## ◆ lookahead

VALUE enumerator::lookahead

Definition at line 189 of file enumerator.c.

## ◆ meth

ID enumerator::meth

Definition at line 185 of file enumerator.c.

## ◆ obj

VALUE enumerator::obj

Definition at line 184 of file enumerator.c.

## ◆ procs

VALUE enumerator::procs

Definition at line 193 of file enumerator.c.

## ◆ size

VALUE enumerator::size

Definition at line 192 of file enumerator.c.

## ◆ size_fn

rb_enumerator_size_func* enumerator::size_fn

Definition at line 194 of file enumerator.c.

## ◆ stop_exc

VALUE enumerator::stop_exc

Definition at line 191 of file enumerator.c.

The documentation for this struct was generated from the following file:

- enumerator.c