On this page
class · Ruby 4.0
Prism::OrNode
Represents the use of the || operator or the or keyword.
left or right ^^^^^^^^^^^^^
Class methods 2
Instance methods 13
Attributes
Read
Represents the left side of the expression. It can be any non-void expression.
left or right ^^^^ 1 || 2 ^
Read
Represents the right side of the expression.
left || right
^^^^^
1 or 2
^