# File lib/html/element.rb, line 30 def add_child(*children_to_add) if can_have_children? children_to_add.each do |child| @_content << child child._parent = self end else raise(ArgumentError.exception('node cannot have children')) end end