Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::ProgramNode.new
new(locals, statements, location)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/node.rb, line 13905
def initialize(locals, statements, location)
@locals = locals
@statements = statements
@location = location
end
def initialize: (locals: Array[Symbol], statements: StatementsNode, location: Location) -> void