Skip to content
instance method

Prism::DSL#hash_pattern_node

hash_pattern_node(source: default_source, node_id: 0, location: default_location, flags: 0, constant: nil, elements: [], rest: nil, opening_loc: nil, closing_loc: nil)

Create a new HashPatternNode node.