delete_all( name )
  public
  
    
    
Deletes all attributes matching a name.  Namespaces are significant.
| name | A String; all attributes that match this path
will be removed | 
| Returns | an Array of the Attributes that were removed | 
   
  
    Show source    
    
      
    def delete_all( name )
      rv = []
      each_attribute { |attribute|
        rv << attribute if attribute.expanded_name == name
      }
      rv.each{ |attr| attr.remove }
      return rv
    end