class Ox::DocType

Represents a DOCTYPE in an XML document.

Public Class Methods

new(value) click to toggle source

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

  • value [String] string value for the element

Calls superclass method
# File lib/ox/doctype.rb, line 8
def initialize(value)
  super
end