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::LocalVariableReadNode

< Prism::Node 9 instance methods 2 class methods

Represents reading a local variable. Note that this requires that a local variable of the same name has already been written to in the same scope, otherwise it is parsed as a method call.

foo
^^^

Class methods 2

Instance methods 9

Attributes
Read

attr_reader depth: Integer

Read

attr_reader name: Symbol