Responsible for utilizing externally provided configuration options, whether via the command line, `.rspec`, `~/.rspec`, `.rspec-local` or a custom options file.
Updates the provided {Configuration} instance based on the provided external configuration options.
@param config [Configuration] the configuration instance to update
# File lib/rspec/core/configuration_options.rb, line 21 def configure(config) process_options_into config configure_filter_manager config.filter_manager load_formatters_into config end
@api private Updates the provided {FilterManager} based on the filter options. @param filter_manager [FilterManager] instance to update
# File lib/rspec/core/configuration_options.rb, line 30 def configure_filter_manager(filter_manager) @filter_manager_options.each do |command, value| filter_manager.__send__ command, value end end
Generated with the Darkfish Rdoc Generator 2.