class MetricFu::Grapher
Constants
- BLUFF_DEFAULT_OPTIONS
- BLUFF_GRAPH_SIZE
Public Class Methods
new()
click to toggle source
# File lib/graphs/grapher.rb, line 3 def initialize self.class.require_graphing_gem end
require_graphing_gem()
click to toggle source
# File lib/graphs/engines/gchart.rb, line 25 def self.require_graphing_gem require 'gchart' if MetricFu.graph_engine == :gchart rescue LoadError puts "#"*99 + "\n" + "If you want to use google charts for graphing, you'll need to install the googlecharts rubygem." + "\n" + "#"*99 end