Method: RSpec::Core::Formatters::Loader#initialize

Defined in:
lib/rspec/core/formatters.rb

#initialize(reporter) ⇒ Loader

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Loader.


105
106
107
108
109
# File 'lib/rspec/core/formatters.rb', line 105

def initialize(reporter)
  @formatters = []
  @reporter = reporter
  self.default_formatter = 'progress'
end