Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/self/root/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