Method: YARD::Config.load
- Defined in:
- lib/yard/config.rb
.load ⇒ void
This method returns an undefined value.
Loads settings from CONFIG_FILE. This method is called by YARD at load time and should not be called by the user.
118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/yard/config.rb', line 118 def self.load self. = SymbolHash.new(false) .update(DEFAULT_CONFIG_OPTIONS) .update(read_config_file) add_ignored_plugins_file translate_plugin_names load_plugins rescue log.error "Invalid configuration file, using default options." .update(DEFAULT_CONFIG_OPTIONS) end |