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