Closed alexdowad closed 9 years ago
Since Node#dup returns self, it makes sense for Node#clone to do the same. (In core Ruby, dup copies an object's "frozen" and "tainted" status, and clone doesn't.)
Node#dup
self
Node#clone
dup
clone
Thanks!
Since
Node#dup
returnsself
, it makes sense forNode#clone
to do the same. (In core Ruby,dup
copies an object's "frozen" and "tainted" status, andclone
doesn't.)