Class: Daytona::Chart
- Inherits:
-
Struct
- Object
- Struct
- Daytona::Chart
- Defined in:
- lib/daytona/common/charts.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#png ⇒ Object
Returns the value of attribute png.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type: nil, title: nil, png: nil, elements: []) ⇒ Chart
constructor
A new instance of Chart.
Constructor Details
#initialize(type: nil, title: nil, png: nil, elements: []) ⇒ Chart
Returns a new instance of Chart.
23 24 25 |
# File 'lib/daytona/common/charts.rb', line 23 def initialize(type: nil, title: nil, png: nil, elements: []) super end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
22 23 24 |
# File 'lib/daytona/common/charts.rb', line 22 def elements @elements end |
#png ⇒ Object
Returns the value of attribute png
22 23 24 |
# File 'lib/daytona/common/charts.rb', line 22 def png @png end |
#title ⇒ Object
Returns the value of attribute title
22 23 24 |
# File 'lib/daytona/common/charts.rb', line 22 def title @title end |
#type ⇒ Object
Returns the value of attribute type
22 23 24 |
# File 'lib/daytona/common/charts.rb', line 22 def type @type end |