module RSpec::Core::Formatters
def self.register(formatter_class, *notifications)
- See: RSpec::Core::Formatters::BaseFormatter -
Parameters:
-
notifications
(Symbol, ...
) -- one or more notifications to be registered to the specified formatter -
formatter_class
(Class
) -- formatter class to register
def self.register(formatter_class, *notifications) Loader.formatters[formatter_class] = notifications end