Exception: Sashimi::PluginNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Sashimi::PluginNotFound
- Defined in:
- lib/sashimi/repositories/abstract_repository.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(plugin_name, message = nil) ⇒ PluginNotFound
constructor
A new instance of PluginNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(plugin_name, message = nil) ⇒ PluginNotFound
Returns a new instance of PluginNotFound.
3 4 5 6 |
# File 'lib/sashimi/repositories/abstract_repository.rb', line 3 def initialize(plugin_name, = nil) @plugin_name = plugin_name @message = end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/sashimi/repositories/abstract_repository.rb', line 8 def to_s @message || @plugin_name + " isn't in the local repository." end |