# File rbtree.rb, line 129 def max_depth_of child max_depth = 0 traverse(child) { |node, count| max_depth = count if count > max_depth } max_depth end