# File lib/rest.rb, line 73 def add_child c @children.push c c.parent = self c.level = @level + 1 end