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

Represents additional text lines for tickets. All additional text lines for one ticket are the ticket‘s description.

Methods

new   to_line  

Public Class methods

[Source]

     # File lib/webgen/sipttra_format.rb, line 207
207:     def initialize( text )
208:       super( text.sub( /^  /, '' ) )
209:     end

Public Instance methods

[Source]

     # File lib/webgen/sipttra_format.rb, line 211
211:     def to_line
212:       (@text.strip.empty? ? '' : '  ' + @text)
213:     end

[Validate]