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

< Prism::Node 11 instance methods 2 class methods

Represents the use of the in keyword in a case statement.

case a; in b then c end
        ^^^^^^^^^^^

Class methods 2

Instance methods 11

Attributes
Read

attr_reader in_loc: Location

Read

attr_reader pattern: Node

Read

attr_reader statements: StatementsNode?

Read

attr_reader then_loc: Location?