Class: Ox::CData

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

Overview

CData represents a CDATA element 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) ⇒ CData

Creates a CDATA element.

  • value [String] value for the CDATA contents



7
8
9
# File 'lib/ox/cdata.rb', line 7

def initialize(value)
  super
end