Ruby: rb_block Struct Reference

Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)

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

## Field Documentation

## ◆ captured

struct rb_captured_block rb_block::captured

Definition at line 846 of file vm_core.h.

## ◆ proc

VALUE rb_block::proc

Definition at line 848 of file vm_core.h.

## ◆ symbol

VALUE rb_block::symbol

Definition at line 847 of file vm_core.h.

## ◆ type

enum rb_block_type rb_block::type

Definition at line 850 of file vm_core.h.

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

- vm_core.h