method
load_formatters
load_formatters(format_options, formatters)
public
Hide source
# File lib/spec/runner/options.rb, line 238 def load_formatters(format_options, formatters) format_options.map do |format, where| formatter_type = if formatters[format] require formatters[format][0] eval(formatters[format][1], binding, __FILE__, __LINE__) else load_class(format, 'formatter', '--format') end formatter_type.new(formatter_options, where) end end