Class: BasicGraph

Inherits:
Object
  • Object
show all
Defined in:
lib/graph_decorator.rb

Instance Method Summary collapse

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

#doubleChartObject



13
14
15
# File 'lib/graph_decorator.rb', line 13

def doubleChart
  return @chartType
end

#multipleChartObject



17
18
19
# File 'lib/graph_decorator.rb', line 17

def multipleChart
  return @chartType
end

#singleChartObject



9
10
11
# File 'lib/graph_decorator.rb', line 9

def singleChart
  return @chartType
end