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

< Prism::Node 10 instance methods 2 class methods

Represents assigning to a local variable in pattern matching.

foo => [bar => baz]
       ^^^^^^^^^^^^

Class methods 2

Instance methods 10

Attributes

attr_reader operator_loc: Location

Read

attr_reader target: Node

Read

attr_reader value: Node