On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::HashNode
Represents a hash literal.
{ a => b }
^^^^^^^^^^
Class methods 2
Instance methods 16
Attributes
Read
The elements of the hash. These can be either ‘AssocNode`s or `AssocSplatNode`s.
{ a: b }
^^^^
{ **foo }
^^^^^