module MetricFu::Formatter

Constants

BUILTIN_FORMATS
DEFAULT

Public Class Methods

class_for(format) click to toggle source
# File lib/metric_fu/formatter.rb, line 13
def class_for(format)
  if (builtin = BUILTIN_FORMATS[format.to_s])
    constantize(builtin[0])
  else
    constantize(format.to_s)
  end
end