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