Parent

Class Index [+]

Quicksearch

TaskJuggler::CellSettingPatternList

The CellSettingPatternList holds a list of possible test pattern for a cell or tooltip. The first entry who’s LogicalExpression matches is used.

Public Class Methods

new() click to toggle source
    # File lib/TableColumnDefinition.rb, line 34
34:     def initialize
35:       @patterns = []
36:     end

Public Instance Methods

addPattern(pattern) click to toggle source

Add a new pattern to the list.

    # File lib/TableColumnDefinition.rb, line 39
39:     def addPattern(pattern)
40:       @patterns << pattern
41:     end
getPattern(query) click to toggle source

Get the RichText that matches the property and scopeProperty.

    # File lib/TableColumnDefinition.rb, line 44
44:     def getPattern(query)
45:       @patterns.each do |pattern|
46:         if pattern.logExpr.eval(query)
47:           return pattern.setting
48:         end
49:       end
50:       nil
51:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.