On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::PinnedVariableNode
Represents the use of the ‘^` operator for pinning a variable in a pattern matching expression.
foo in ^bar
^^^^
Class methods 2
Instance methods 13
Attributes
Read
attr_reader variable: LocalVariableReadNode | InstanceVariableReadNode | ClassVariableReadNode | GlobalVariableReadNode | BackReferenceReadNode | NumberedReferenceReadNode | ItLocalVariableReadNode | MissingNode