Class: TaskJuggler::CellSettingPattern
- Defined in:
- lib/taskjuggler/TableColumnDefinition.rb
Overview
A CellSettingPattern is used to store alternative settings for ReportTableCell settings. These could be the cell text, the tooltip or a color setting. The user can provide multiple options and the LogicalExpression is used to select the pattern for a given cell.
Instance Attribute Summary collapse
-
#logExpr ⇒ Object
readonly
Returns the value of attribute logExpr.
-
#setting ⇒ Object
readonly
Returns the value of attribute setting.
Instance Method Summary collapse
-
#initialize(setting, logExpr) ⇒ CellSettingPattern
constructor
A new instance of CellSettingPattern.
Constructor Details
#initialize(setting, logExpr) ⇒ CellSettingPattern
Returns a new instance of CellSettingPattern.
25 26 27 28 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 25 def initialize(setting, logExpr) @setting = setting @logExpr = logExpr end |
Instance Attribute Details
#logExpr ⇒ Object (readonly)
Returns the value of attribute logExpr.
23 24 25 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 23 def logExpr @logExpr end |
#setting ⇒ Object (readonly)
Returns the value of attribute setting.
23 24 25 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 23 def setting @setting end |