Exception: CouchShell::UndefinedVariable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(varname) ⇒ UndefinedVariable

Returns a new instance of UndefinedVariable.



15
16
17
# File 'lib/couch-shell/exceptions.rb', line 15

def initialize(varname)
  @varname = varname
end

Instance Attribute Details

#varnameObject (readonly)

Returns the value of attribute varname.



13
14
15
# File 'lib/couch-shell/exceptions.rb', line 13

def varname
  @varname
end