Skip to content
On this page
class · Ruby 4.0

Prism::BlockParameterNode

< Prism::Node 16 instance methods 2 class methods

Represents a block parameter of a method, block, or lambda definition.

def a(&b)
      ^^
end

Class methods 2

Instance methods 16

Attributes
Read

The name of the block parameter.

def a(&b) # name `:b`
       ^
end