Exception: CouchShell::PluginUtils::VarNotSet

Inherits:
ShellError show all
Defined in:
lib/couch-shell/plugin_utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#varObject

Returns the value of attribute var.



16
17
18
# File 'lib/couch-shell/plugin_utils.rb', line 16

def var
  @var
end

Instance Method Details

#messageObject



18
19
20
# File 'lib/couch-shell/plugin_utils.rb', line 18

def message
  "Variable @#{@var.plugin.plugin_name}.#{@var.name} not set."
end