Class Sipttra::TextNode
In: lib/webgen/sipttra_format.rb
Parent: Node
TextNode AdditionalText Comment Node Ticket Category Milestone Tracker lib/webgen/sipttra_format.rb Sipttra dot/m_47_0.png

Base class for all nodes which deal with simple text lines.

Methods

new   to_line   to_s  

Attributes

text  [RW]  The text of the node/line.

Public Class methods

[Source]

    # File lib/webgen/sipttra_format.rb, line 48
48:     def initialize( text )
49:       @text = text
50:     end

Public Instance methods

[Source]

    # File lib/webgen/sipttra_format.rb, line 52
52:     def to_line
53:       @text
54:     end

[Source]

    # File lib/webgen/sipttra_format.rb, line 56
56:     def to_s
57:       @text
58:     end

[Validate]