Sha256: 119d070d68a6e2e5565769c33170cfda515b8a2790c1d5ee6148b3e1d33d6a04

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

module MetricFu
  class GraphEngine

    attr_accessor :graph_engines, :graph_engine
    def initialize
      @graph_engines = [:bluff, :gchart]
      @graph_engine = :bluff
    end

    def add_graph_engine(graph_engine)
      self.graph_engines = (graph_engines << graph_engine).uniq
    end

    def configure_graph_engine(graph_engine)
      self.graph_engine = graph_engine
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metric_fu-4.4.4 lib/metric_fu/reporting/graphs/engines/init.rb
metric_fu-4.4.3 lib/metric_fu/reporting/graphs/engines/init.rb
metric_fu-4.4.2 lib/metric_fu/reporting/graphs/engines/init.rb
metric_fu-4.4.1 lib/metric_fu/reporting/graphs/engines/init.rb
metric_fu-4.4.0 lib/metric_fu/reporting/graphs/engines/init.rb