class method
Prism::HashPatternNode.new
new(source, node_id, location, flags, constant, elements, rest, opening_loc, closing_loc)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 8410
def initialize(source, node_id, location, flags, constant, elements, rest, opening_loc, closing_loc)
@source = source
@node_id = node_id
@location = location
@flags = flags
@constant = constant
@elements = elements
@rest = rest
@opening_loc = opening_loc
@closing_loc = closing_loc
end
Initialize a new HashPatternNode node.