Ruby: enumerator Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

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 143 of file enumerator.c.

## Field Documentation

## ◆ args

VALUE enumerator::args

Definition at line 146 of file enumerator.c.

## ◆ dst

VALUE enumerator::dst

Definition at line 148 of file enumerator.c.

## ◆ feedvalue

VALUE enumerator::feedvalue

Definition at line 150 of file enumerator.c.

## ◆ fib

VALUE enumerator::fib

Definition at line 147 of file enumerator.c.

## ◆ kw_splat

int enumerator::kw_splat

Definition at line 155 of file enumerator.c.

Referenced by rb_enumeratorize_with_size_kw().

## ◆ lookahead

VALUE enumerator::lookahead

Definition at line 149 of file enumerator.c.

## ◆ meth

ID enumerator::meth

Definition at line 145 of file enumerator.c.

Referenced by rb_enumeratorize(), rb_enumeratorize_with_size(), and rb_enumeratorize_with_size_kw().

## ◆ obj

VALUE enumerator::obj

Definition at line 144 of file enumerator.c.

Referenced by rb_enumeratorize(), rb_enumeratorize_with_size(), and rb_enumeratorize_with_size_kw().

## ◆ procs

VALUE enumerator::procs

Definition at line 153 of file enumerator.c.

## ◆ size

VALUE enumerator::size

Definition at line 152 of file enumerator.c.

## ◆ size_fn

rb_enumerator_size_func* enumerator::size_fn

Definition at line 154 of file enumerator.c.

Referenced by rb_enumeratorize_with_size(), and rb_enumeratorize_with_size_kw().

## ◆ stop_exc

VALUE enumerator::stop_exc

Definition at line 151 of file enumerator.c.

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

- enumerator.c