Class: OldSql::ReportDesign::Chart
- Inherits:
-
Object
- Object
- OldSql::ReportDesign::Chart
- Defined in:
- lib/old_sql/report_design/chart.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
-
#type(new_type = nil) ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #add(slice) ⇒ Object
-
#initialize(value = []) ⇒ Chart
constructor
A new instance of Chart.
- #item(index) ⇒ Object
Constructor Details
#initialize(value = []) ⇒ Chart
Returns a new instance of Chart.
6 7 8 |
# File 'lib/old_sql/report_design/chart.rb', line 6 def initialize(value = []) @items = value end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
4 5 6 |
# File 'lib/old_sql/report_design/chart.rb', line 4 def items @items end |
#type(new_type = nil) ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/old_sql/report_design/chart.rb', line 4 def type @type end |