class Ox::Raw

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.

Public Class Methods

new(value) click to toggle source

Creates a new Raw element with the specified value.

  • value [String] string value for the comment

Calls superclass method Ox::Node::new
# File lib/ox/raw.rb, line 9
def initialize(value)
  super
end