Class: Ox::Comment

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

Overview

Comments represent XML comments in an XML document. A comment has a value attribute only.

Instance Attribute Summary

Attributes inherited from Node

#value

Instance Method Summary collapse

Methods inherited from Node

#eql?

Constructor Details

#initialize(value) ⇒ Comment

Creates a new Comment with the specified value.

  • value [String] string value for the comment



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

def initialize(value)
  super
end