class RSpec::Core::Configuration
def add_formatter(formatter, output=output_wrapper)
- See: RSpec::Core::Formatters::Protocol -
Parameters:
-
output
(String, IO
) -- where the formatter will write its output. -
formatter
(Class, String, Object
) -- formatter to use. Can be any of the
Overloads:
-
add_formatter(formatter, output)
-
add_formatter(formatter)
def add_formatter(formatter, output=output_wrapper) formatter_loader.add(formatter, output) end