Exception: CouchShell::NoSuchPluginRegistered
- Inherits:
-
ShellUserError
- Object
- Exception
- ShellUserError
- CouchShell::NoSuchPluginRegistered
- Defined in:
- lib/couch-shell/exceptions.rb
Instance Attribute Summary collapse
-
#plugin_name ⇒ Object
readonly
Returns the value of attribute plugin_name.
Instance Method Summary collapse
-
#initialize(plugin_name) ⇒ NoSuchPluginRegistered
constructor
A new instance of NoSuchPluginRegistered.
- #message ⇒ Object
Constructor Details
#initialize(plugin_name) ⇒ NoSuchPluginRegistered
Returns a new instance of NoSuchPluginRegistered.
25 26 27 |
# File 'lib/couch-shell/exceptions.rb', line 25 def initialize(plugin_name) @plugin_name = plugin_name end |
Instance Attribute Details
#plugin_name ⇒ Object (readonly)
Returns the value of attribute plugin_name.
23 24 25 |
# File 'lib/couch-shell/exceptions.rb', line 23 def plugin_name @plugin_name end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/couch-shell/exceptions.rb', line 29 def "No such plugin registered: #@plugin_name" end |