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

< Prism::Node 11 instance methods 2 class methods

Represents the use of a case statement for pattern matching.

case true
in false
end
^^^^^^^^^

Class methods 2

Instance methods 11

Attributes
Read

attr_reader conditions: Array[Node]

Read

attr_reader consequent: ElseNode?

Read

attr_reader predicate: Node?