Skip to content
On this page

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

Prism::LambdaNode

< Prism::Node 12 instance methods 2 class methods

Represents using a lambda literal (not the lambda method call).

->(value) { value * 2 }
^^^^^^^^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 12

Attributes
Read

attr_reader body: Node?

attr_reader closing_loc: Location

Read

attr_reader locals: Array[Symbol]

attr_reader opening_loc: Location

attr_reader operator_loc: Location

Read

attr_reader parameters: Node?