PHP 8.2.31
Preview: new-c.yaml Size: 1.38 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Attribute/new-c.yaml

--- !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( &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

Directory Contents

Dirs: 0 × Files: 16

Name Size Perms Modified Actions
299 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
1.69 KB lrw-r--r-- 2023-07-26 13:47:45
Edit Download
243 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
378 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
266 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
178 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
500 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
1.38 KB lrw-r--r-- 2023-07-26 13:47:45
Edit Download
182 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
729 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
362 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
260 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
519 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
313 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
300 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download
174 B lrw-r--r-- 2023-07-26 13:47:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).