Method: Doing::Plugins.available_plugins

Defined in:
lib/doing/plugin_manager.rb

.available_plugins(type: :export) ⇒ Array

Return array of available plugin names

Parameters:

  • type (Symbol) (defaults to: :export)

    Plugin type (:import, :export)

Returns:

  • (Array)

    Array of plugin names (String)



171
172
173
174
# File 'lib/doing/plugin_manager.rb', line 171

def available_plugins(type: :export)
  type = valid_type(type)
  plugins[type].keys.sort
end