Method: Jekyll::PluginManager#whitelist

Defined in:
lib/jekyll/plugin_manager.rb

#whitelistObject

Build an array of allowed plugin gem names.

Returns an array of strings, each string being the name of a gem name

that is allowed to be used.


85
86
87
# File 'lib/jekyll/plugin_manager.rb', line 85

def whitelist
  @whitelist ||= [site.config["whitelist"]].flatten
end