Skip to content
On this page
class · Ruby 4.0

Prism::ClassVariableOrWriteNode

< Prism::Node 15 instance methods 2 class methods

Represents the use of the ||= operator for assignment to a class variable.

@@target ||= value
^^^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 15

Attributes
Read

attr_reader name: Symbol

Read

attr_reader value: Prism::node