Ruby: rb_block Struct Reference

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

Data Fields
rb_block Struct Reference

## Data Fields
union { |
struct rb_captured_block captured |
VALUE symbol |
VALUE proc |
} | as
enum rb_block_type | type

## Detailed Description

Definition at line 902 of file vm_core.h.

## Field Documentation

## ◆ captured

struct rb_captured_block rb_block::captured

Definition at line 904 of file vm_core.h.

## ◆ proc

VALUE rb_block::proc

Definition at line 906 of file vm_core.h.

## ◆ symbol

VALUE rb_block::symbol

Definition at line 905 of file vm_core.h.

## ◆ type

enum rb_block_type rb_block::type

Definition at line 908 of file vm_core.h.

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

- vm_core.h