On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::BlockArgumentNode
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](github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
foo(&args)
^^^^^