Method: RSpec::Core::Configuration#default_formatter=

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

#default_formatter=(value) ⇒ void

Sets a fallback formatter to use if none other has been set.

Examples:


RSpec.configure do |rspec|
  rspec.default_formatter = 'doc'
end


1014
1015
1016
# File 'lib/rspec/core/configuration.rb', line 1014

def default_formatter=(value)
  formatter_loader.default_formatter = value
end