def object=(new_object)
      @object.delete if @object.present?

      @object = new_object

      xml_parent_element.add_child(
        new_object.xml_element
      )
      new_object.xml_parent_element = xml_parent_element
    end
def object=(new_object)
      @object.delete if @object.present?

      @object = new_object

      xml_parent_element.add_child(
        new_object.xml_element
      )
      new_object.xml_parent_element = xml_parent_element
    end
Setter Method