Sha256: f40523b12650d4ae14310cec986e0723c76bb2c5fea7ba544e5a65443615d0da
Contents?: true
Size: 667 Bytes
Versions: 25
Compression:
Stored size: 667 Bytes
Contents
module MetricFu class Grapher def initialize self.class.require_gruff end def self.require_gruff require 'gruff' rescue LoadError puts "#"*99 + "\n" + "If you want to use metric_fu's graphing features then you'll need to install the gems " + "'topfunky-gruff' (or 'umang-gruff' if you use 1.9x) and 'rmagick' (and rmagick requires ImageMagick). "+ "If you don't want to deal with that, then make sure you set config.graphs = [] (see the metric_fu's homepage for more details) "+ "to indicate that you don't want graphing." + "\n" + "#"*99 raise end end end
Version data entries
25 entries across 25 versions & 11 rubygems