class Comment

Extends Child
Includes Comparable
Represents an XML comment; that is, text between <!-- ... -->

Attributes

Methods


Attributes

string (accessor)

Aliases

to_s

is a synonym for

string

Methods

<=>


Compares this Comment to another; the contents of the comment are used in the comparison.

==


Compares this Comment to another; the contents of the comment are used in the comparison.

clone


Comment


initialize


Constructor. The first argument can be one of three types:

write