Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::ArgumentsNode#copy
copy(node_id: self.node_id, location: self.location, flags: self.flags, arguments: self.arguments)
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/node.rb, line 793
def copy(node_id: self.node_id, location: self.location, flags: self.flags, arguments: self.arguments)
ArgumentsNode.new(source, node_id, location, flags, arguments)
end
def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?arguments: Array) -> ArgumentsNode
See also
#contains_splat?
#deconstruct
#contains_multiple_splats?
#deconstruct_keys
also in
4.0 · 3.3