Ruby: rb_block Struct Reference

Ruby 3.4.8p72 (2025-12-17 revision 995b59f66677d44767ce9faac6957e5543617ff9)

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

## Field Documentation

## ◆ captured

struct rb_captured_block rb_block::captured

Definition at line 893 of file vm_core.h.

## ◆ proc

VALUE rb_block::proc

Definition at line 895 of file vm_core.h.

## ◆ symbol

VALUE rb_block::symbol

Definition at line 894 of file vm_core.h.

## ◆ type

enum rb_block_type rb_block::type

Definition at line 897 of file vm_core.h.

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

- vm_core.h