Skip to content
On this page
class · Ruby 4.0

Prism::HashNode

< Prism::Node 16 instance methods 2 class methods

Represents a hash literal.

{ a => b }
^^^^^^^^^^

Class methods 2

Instance methods 16

Attributes
Read

The elements of the hash. These can be either AssocNodes or AssocSplatNodes.

{ a: b }
  ^^^^

{ **foo }
  ^^^^^