Exception: Ruber::ComponentManager::MissingPlugins
- Inherits:
-
StandardError
- Object
- StandardError
- Ruber::ComponentManager::MissingPlugins
- Defined in:
- lib/ruber/component_manager.rb
Overview
Exception raised when some plugins couldn’t be found. plugins is an array containing the names of the plugins which couldn’t be found, while dirs is an array of the directories searched for those plugins
Instance Attribute Summary (collapse)
-
- (Object) dirs
readonly
Returns the value of attribute dirs.
-
- (Object) plugins
readonly
Returns the value of attribute plugins.
Instance Method Summary (collapse)
-
- (MissingPlugins) initialize(plugins, dirs)
constructor
A new instance of MissingPlugins.
Constructor Details
- (MissingPlugins) initialize(plugins, dirs)
A new instance of MissingPlugins
394 395 396 397 398 |
# File 'lib/ruber/component_manager.rb', line 394 def initialize plugins, dirs @plugins = plugins.dup @dirs = dirs.dup super "The plugins #{@plugins.join ' '} couldn't be found in the directories #{@dirs.join ' '}" end |
Instance Attribute Details
- (Object) dirs (readonly)
Returns the value of attribute dirs
393 394 395 |
# File 'lib/ruber/component_manager.rb', line 393 def dirs @dirs end |
- (Object) plugins (readonly)
Returns the value of attribute plugins
393 394 395 |
# File 'lib/ruber/component_manager.rb', line 393 def plugins @plugins end |