Class: Ox::Raw

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

Overview

Raw elements are used to inject existing XML strings into a document WARNING: Use of this feature can result in invalid XML, since `value` is injected as-is.

Instance Attribute Summary

Attributes inherited from Node

#value

Instance Method Summary collapse

Methods inherited from Node

#eql?

Constructor Details

#initialize(value) ⇒ Raw

Creates a new Raw element with the specified value.

  • value [String] string value for the comment



9
10
11
# File 'lib/ox/raw.rb', line 9

def initialize(value)
  super
end