Exception: Mactag::PluginNotFoundError

Inherits:
MactagError
  • Object
show all
Defined in:
lib/mactag/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(plugin) ⇒ PluginNotFoundError

Returns a new instance of PluginNotFoundError.



8
9
10
# File 'lib/mactag/errors.rb', line 8

def initialize(plugin)
  @plugin = plugin
end

Instance Attribute Details

#pluginObject (readonly)

Returns the value of attribute plugin.



6
7
8
# File 'lib/mactag/errors.rb', line 6

def plugin
  @plugin
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/mactag/errors.rb', line 12

def to_s
  "Plugin #{plugin.name} not found"
end