class Asciidoctor::Document
def delete_attribute(name)
name - the String attribute name
If the attribute is locked, false is returned. Otherwise, the attribute is deleted.
Public: Delete the specified attribute from the document if the name is not locked
def delete_attribute(name) if attribute_locked?(name) false else @attributes.delete(name) @attributes_modified << name true end end