Ruby: rb_block Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

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 903 of file vm_core.h.

## Field Documentation

## ◆ captured

struct rb_captured_block rb_block::captured

Definition at line 905 of file vm_core.h.

## ◆ proc

VALUE rb_block::proc

Definition at line 907 of file vm_core.h.

## ◆ symbol

VALUE rb_block::symbol

Definition at line 906 of file vm_core.h.

## ◆ type

enum rb_block_type rb_block::type

Definition at line 909 of file vm_core.h.

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

- vm_core.h