On this page
class · Ruby 4.0
Prism::LambdaNode
Represents using a lambda literal (not the lambda method call).
->(value) { value * 2 }
^^^^^^^^^^^^^^^^^^^^^^^
Class methods 2
Instance methods 19
Attributes
Read
attr_reader body: StatementsNode | BeginNode | nil
Read
attr_reader parameters: BlockParametersNode | NumberedParametersNode | ItParametersNode | nil