Flowdock
new( first, parent=nil ) public

Constructor

dt = DocType.new( 'foo', '-//I/Hate/External/IDs' )
# <!DOCTYPE foo '-//I/Hate/External/IDs'>
dt = DocType.new( doctype_to_clone )
# Incomplete.  Shallow clone of doctype

Note that the constructor:

Doctype.new( Source.new( β€œ<!DOCTYPE foo β€˜bar’>” ) )

is deprecated. Do not use it. It will probably disappear.

Show source
Register or log in to add new notes.