class YARD::Config
def self.load_plugin(name)
-
(Boolean)
- whether the plugin was successfully loaded
Parameters:
-
name
(String
) -- the name of the plugin (with or without +yard-+ prefix)
def self.load_plugin(name) name = translate_plugin_name(name) return false if options[:ignored_plugins].include?(name) return false if name =~ /^yard-doc-/ log.debug "Loading plugin '#{name}'..." require name true rescue LoadError => e load_plugin_failed(name, e) end