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
6
# File 'lib/sashimi/repositories/abstract_repository.rb', line 3

def initialize(plugin_name, message = nil)
  @plugin_name = plugin_name
  @message     = message
end

Instance Method Details

#to_sObject



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