Skip to content
On this page
class · Ruby 4.0

Prism::InstanceVariableReadNode

< Prism::Node 10 instance methods 2 class methods

Represents referencing an instance variable.

@foo
^^^^

Class methods 2

Instance methods 10

Attributes
Read

The name of the instance variable, which is a @ followed by an identifier.

Example
@x     # name `:@x`

@_test # name `:@_test`