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 |
# File 'lib/sashimi/repositories/abstract_repository.rb', line 3 def initialize(plugin_name, = nil) @plugin_name, @message = plugin_name, end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/sashimi/repositories/abstract_repository.rb', line 7 def to_s @message || @plugin_name.to_s + " isn't in the local repository." end |