class RSpec::Core::Formatters::Loader
Public Instance Methods
duplicate_formatter_exists?(new_formatter)
click to toggle source
# File lib/rspec/core/formatters_ext.rb, line 15 def duplicate_formatter_exists?(new_formatter) @formatters.any? do |formatter| formatter.class == new_formatter.class && (formatter.output == new_formatter.output || formatter.class == RSpec::MultiprocessRunner::ReportingFormatter) end end