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.



35
36
37
# File 'lib/couch-shell/shell.rb', line 35

def initialize(varname)
  @varname = varname
end

Instance Attribute Details

#varnameObject (readonly)

Returns the value of attribute varname.



33
34
35
# File 'lib/couch-shell/shell.rb', line 33

def varname
  @varname
end