Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an instance method to check the relationship between 2 nodes: #family_of? #319

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

rnitta
Copy link
Contributor

@rnitta rnitta commented Jul 27, 2018

Add #family_of? which returns true if current node and another one have a same root.

@n-rodriguez
Copy link
Contributor

Seems good to me

@n-rodriguez
Copy link
Contributor

This could be in the next release. Thoughts?

@seuros seuros merged commit e9cebd9 into ClosureTree:master Aug 27, 2018
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.

3 participants