Method: YARD::Config.load_plugins

Defined in:
lib/yard/config.rb

.load_pluginsBoolean

Loads gems that match the name ‘yard-*’ (recommended) or ‘yard_*’ except those listed in ~/.yard/ignored_plugins. This is called immediately after YARD is loaded to allow plugin support.

Returns:

  • (Boolean)

    true if all plugins loaded successfully, false otherwise.

Since:

  • 0.6.2

[View source]

142
143
144
145
146
# File 'lib/yard/config.rb', line 142

def self.load_plugins
  load_gem_plugins &&
    load_autoload_plugins &&
    load_commandline_plugins ? true : false
end