HEX
Server: LiteSpeed
System: Linux server240.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: creaqbdc (8964)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //opt/alt/ruby18/share/ri/1.8/system/REXML/DocType/new-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Constructor
- !ruby/struct:SM::Flow::VERB 
  body: "  dt = DocType.new( 'foo', '-//I/Hate/External/IDs' )\n  # <!DOCTYPE foo '-//I/Hate/External/IDs'>\n  dt = DocType.new( doctype_to_clone )\n  # Incomplete.  Shallow clone of doctype\n"
- !ruby/struct:SM::Flow::P 
  body: "<tt>Note</tt> that the constructor:"
- !ruby/struct:SM::Flow::VERB 
  body: " Doctype.new( Source.new( &quot;&lt;!DOCTYPE foo 'bar'&gt;&quot; ) )\n"
- !ruby/struct:SM::Flow::P 
  body: is <em>deprecated</em>. Do not use it. It will probably disappear.
full_name: REXML::DocType::new
is_singleton: true
name: new
params: ( first, parent=nil )
visibility: public