Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::LambdaNode.new
new(locals, locals_body_index, operator_loc, opening_loc, closing_loc, parameters, body, location)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/node.rb, line 10632
def initialize(locals, locals_body_index, operator_loc, opening_loc, closing_loc, parameters, body, location)
@locals = locals
@locals_body_index = locals_body_index
@operator_loc = operator_loc
@opening_loc = opening_loc
@closing_loc = closing_loc
@parameters = parameters
@body = body
@location = location
end
def initialize: (locals: Array[Symbol], locals_body_index: Integer, operator_loc: Location, opening_loc: Location, closing_loc: Location, parameters: Node?, body: Node?, location: Location) -> void