Parent

Class Index [+]

Quicksearch

TaskJuggler::PlaceHolderCell

This class is used to model cells that are just placeholders for a line of an embedded ReportTable.

Public Class Methods

new(line, embeddedLine) click to toggle source

Create a new placeholder cell. line is the line that this cell belongs to. embeddedLine is the ReportTableLine that is embedded in this cell.

     # File lib/reports/ReportTableCell.rb, line 377
377:     def initialize(line, embeddedLine)
378:       @line = line
379:       @line.addCell(self) if line
380:       @embeddedLine = embeddedLine
381:     end

Public Instance Methods

to_csv(csv, columnIdx, lineIdx) click to toggle source

Add the current cell to the csv CSV Arrays. columnIdx is the start column in the csv. lineIdx is the index of the current line. The return value is the number of added cells.

     # File lib/reports/ReportTableCell.rb, line 386
386:     def to_csv(csv, columnIdx, lineIdx)
387:       @embeddedLine.to_csv(csv, columnIdx, lineIdx)
388:     end
to_html() click to toggle source
     # File lib/reports/ReportTableCell.rb, line 390
390:     def to_html
391:       nil
392:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.