Skip to content

Conversation

@alexdowad
Copy link
Contributor

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.)

whitequark added a commit that referenced this pull request Oct 30, 2015
`Node#clone` returns self (they're immutable, after all)
@whitequark whitequark merged commit 63db468 into whitequark:master Oct 30, 2015
@alexdowad
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants