Class: OldSql::ReportDesign::CellData
- Inherits:
-
Object
- Object
- OldSql::ReportDesign::CellData
- Defined in:
- lib/old_sql/report_design/cell_data.rb
Constant Summary collapse
- COLUMN =
1
- LABEL =
2
- OPERATOR =
3
- NUMERIC_LITERAL =
4
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(value) ⇒ CellData
constructor
A new instance of CellData.
Constructor Details
#initialize(value) ⇒ CellData
Returns a new instance of CellData.
11 12 13 14 |
# File 'lib/old_sql/report_design/cell_data.rb', line 11 def initialize(value) @data = value set_type end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/old_sql/report_design/cell_data.rb', line 4 def data @data end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/old_sql/report_design/cell_data.rb', line 4 def type @type end |