class Ox::Comment

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

Public Class Methods

new(value) click to toggle source

Creates a new Comment with the specified value.

  • value [String] string value for the comment

Calls superclass method
# File lib/ox/comment.rb, line 8
def initialize(value)