Class: BasicGraph
- Inherits:
-
Object
- Object
- BasicGraph
- Defined in:
- lib/graph_decorator.rb
Instance Method Summary collapse
- #doubleChart ⇒ Object
-
#initialize(chartType) ⇒ BasicGraph
constructor
A new instance of BasicGraph.
- #multipleChart ⇒ Object
- #singleChart ⇒ Object
Constructor Details
#initialize(chartType) ⇒ BasicGraph
Returns a new instance of BasicGraph.
5 6 7 |
# File 'lib/graph_decorator.rb', line 5 def initialize(chartType) @chartType = chartType end |
Instance Method Details
#doubleChart ⇒ Object
13 14 15 |
# File 'lib/graph_decorator.rb', line 13 def doubleChart return @chartType end |
#multipleChart ⇒ Object
17 18 19 |
# File 'lib/graph_decorator.rb', line 17 def multipleChart return @chartType end |
#singleChart ⇒ Object
9 10 11 |
# File 'lib/graph_decorator.rb', line 9 def singleChart return @chartType end |