# File lib/tree/binarytree.rb, line 79 def leftChild=(child) @children[0] = child @childrenHash[child.name] = child if child # Assign the name mapping end