Exception: Pluginator::MissingPlugin

Inherits:
PluginatorError show all
Defined in:
lib/pluginator/errors.rb

Overview

raised when plugin can not be found, generated by ‘*!` methods

Instance Method Summary collapse

Constructor Details

#initialize(type, name, list) ⇒ MissingPlugin

Returns a new instance of MissingPlugin.

Parameters:

  • type (String)

    type of the loaded plugin

  • name (String)

    name of the loaded plugin

  • list (Array)

    list of available plugins



35
36
37
# File 'lib/pluginator/errors.rb', line 35

def initialize(type, name, list)
  super("Can not find plugin '#{name}' in #{list_to_s(list)} for type '#{type}'.")
end