On this page
class · Ruby 4.0
Prism::AlternationPatternNode
Represents an alternation pattern in pattern matching.
foo => bar | baz
^^^^^^^^^
Class methods 2
Instance methods 13
Attributes
Read
Represents the left side of the expression.
foo => bar | baz
^^^
Read
Represents the right side of the expression.
foo => bar | baz
^^^