Module | Ancestry::ClassMethods |
In: |
lib/ancestry/class_methods.rb
|
Arrange array of nodes into a nested hash of the form {node => children}, where children = {} if the node has no children