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.
24 25 26 27 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 24 def initialize(setting, logExpr) @setting = setting @logExpr = logExpr end |
Instance Attribute Details
#logExpr ⇒ Object (readonly)
Returns the value of attribute logExpr.
22 23 24 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 22 def logExpr @logExpr end |
#setting ⇒ Object (readonly)
Returns the value of attribute setting.
22 23 24 |
# File 'lib/taskjuggler/TableColumnDefinition.rb', line 22 def setting @setting end |