Exception: CouchShell::Shell::UndefinedVariable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(varname) ⇒ UndefinedVariable

Returns a new instance of UndefinedVariable.



26
27
28
# File 'lib/couch-shell/shell.rb', line 26

def initialize(varname)
  @varname = varname
end

Instance Attribute Details

#varnameObject (readonly)

Returns the value of attribute varname.



24
25
26
# File 'lib/couch-shell/shell.rb', line 24

def varname
  @varname
end