class

Crystal::Macros::Block

Inherits Crystal::Macros::ASTNode

A code block.

Instance methods

args

Returns the blocks arguments.

Source
body

Returns the block's body, if any.

Source
splat_index

Returns the index of the argument with a *splat, if any.

Source