Skip to content
On this page
class · Ruby 4.0

Prism::WhenNode

< Prism::Node 16 instance methods 2 class methods

Represents the use of the when keyword within a case statement.

case true
when true
^^^^^^^^^
end

Class methods 2

Instance methods 16

Attributes
Read

attr_reader conditions: Array

Read

attr_reader statements: StatementsNode?