--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: "Constructor. FIXME: The parser doesn't catch illegal characters in attributes"
- !ruby/object:RDoc::Markup::Flow::LIST 
  contents: 
  - !ruby/struct:RDoc::Markup::Flow::LI 
    :label: "first:"
    :body: "Either: an Attribute, which this new attribute will become a clone of; or a String, which is the name of this attribute"
  - !ruby/struct:RDoc::Markup::Flow::LI 
    :label: "second:"
    :body: If <tt>first</tt> is an Attribute, then this may be an Element, or nil. If nil, then the Element parent of this attribute is the parent of the <tt>first</tt> Attribute. If the first argument is a String, then this must also be a String, and is the content of the attribute. If this is the content, it must be fully normalized (contain no illegal characters).
  - !ruby/struct:RDoc::Markup::Flow::LI 
    :label: "parent:"
    :body: Ignored unless <tt>first</tt> is a String; otherwise, may be the Element parent of this attribute, or nil.
  type: :NOTE
- !ruby/struct:RDoc::Markup::Flow::VERB 
  :body: " Attribute.new( attribute_to_clone )\n Attribute.new( attribute_to_clone, parent_element )\n Attribute.new( &quot;attr&quot;, &quot;attr_value&quot; )\n Attribute.new( &quot;attr&quot;, &quot;attr_value&quot;, parent_element )\n"
full_name: REXML::Attribute::new
is_singleton: true
name: new
params: ( first, second=nil, parent=nil )
visibility: public
