Exception: Sashimi::PluginNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sashimi/repositories/abstract_repository.rb

Overview

:nodoc:

Instance Method Summary collapse

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, message = nil)
  @plugin_name, @message = plugin_name, message
end

Instance Method Details

#to_sObject



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