Class: QueryReport::Chart::Column
- Inherits:
-
Object
- Object
- QueryReport::Chart::Column
- Defined in:
- lib/query_report/chart/chart_column.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(title, type) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(title, type) ⇒ Column
Returns a new instance of Column.
6 7 8 9 |
# File 'lib/query_report/chart/chart_column.rb', line 6 def initialize(title, type) @title = title @type = type end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/query_report/chart/chart_column.rb', line 4 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/query_report/chart/chart_column.rb', line 4 def type @type end |