Exception: Mactag::PluginNotFoundError
- Inherits:
-
MactagError
- Object
- StandardError
- MactagError
- Mactag::PluginNotFoundError
- Defined in:
- lib/mactag/errors.rb
Instance Attribute Summary collapse
-
#plugin ⇒ Object
readonly
Returns the value of attribute plugin.
Instance Method Summary collapse
-
#initialize(plugin) ⇒ PluginNotFoundError
constructor
A new instance of PluginNotFoundError.
- #to_s ⇒ Object
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
#plugin ⇒ Object (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_s ⇒ Object
12 13 14 |
# File 'lib/mactag/errors.rb', line 12 def to_s "Plugin #{plugin.name} not found" end |