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

< Prism::Node 9 instance methods 2 class methods

Represents writing local variables using a regular expression match with named capture groups.

/(?<foo>bar)/ =~ baz
^^^^^^^^^^^^^^^^^^^^

Class methods 2

Instance methods 9

Attributes
Read

attr_reader call: CallNode

Read

attr_reader targets: Array[Node]