Class: Ox::Comment

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

Overview

Coments represent XML comments in an XML document. A comment as 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.


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

def initialize(value)
  super
end