Skip to content
On this page
class · Ruby 4.0

Prism::BlockArgumentNode

< Prism::Node 13 instance methods 2 class methods

Represents a block argument using &.

bar(&args)
^^^^^^^^^^

Class methods 2

Instance methods 13

Attributes
Read

The expression that is being passed as a block argument. This can be any non-void expression.

foo(&args)
    ^^^^^