Class: Ox::DocType

Inherits:
Node
  • Object
show all
Defined in:
lib/ox/doctype.rb

Overview

Represents a DOCTYPE in an XML document.

Instance Attribute Summary

Attributes inherited from Node

#value

Instance Method Summary collapse

Methods inherited from Node

#eql?

Constructor Details

#initialize(value) ⇒ DocType

Creates a DOCTYPE elements with the content as a string specified in the value parameter.

  • value [String] string value for the element



8
9
10
# File 'lib/ox/doctype.rb', line 8

def initialize(value)
  super
end