| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby18/share/ri/1.8/system/REXML/Attribute/ |
Upload File : |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: "Constructor. FIXME: The parser doesn't catch illegal characters in attributes"
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::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:SM::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:SM::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:SM::Flow::VERB
body: " Attribute.new( attribute_to_clone )\n Attribute.new( attribute_to_clone, parent_element )\n Attribute.new( "attr", "attr_value" )\n Attribute.new( "attr", "attr_value", parent_element )\n"
full_name: REXML::Attribute::new
is_singleton: true
name: new
params: ( first, second=nil, parent=nil )
visibility: public