Exception: CouchShell::NoSuchPluginRegistered

Inherits:
ShellUserError show all
Defined in:
lib/couch-shell/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#messageObject



29
30
31
# File 'lib/couch-shell/exceptions.rb', line 29

def message
  "No such plugin registered: #@plugin_name"
end