Parent

Included Modules

MetricFu::Grapher

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.