Exception: CouchShell::Shell::UndefinedVariable
- Inherits:
-
ShellUserError
- Object
- Exception
- ShellUserError
- CouchShell::Shell::UndefinedVariable
- Defined in:
- lib/couch-shell/shell.rb
Instance Attribute Summary collapse
-
#varname ⇒ Object
readonly
Returns the value of attribute varname.
Instance Method Summary collapse
-
#initialize(varname) ⇒ UndefinedVariable
constructor
A new instance of UndefinedVariable.
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
#varname ⇒ Object (readonly)
Returns the value of attribute varname.
24 25 26 |
# File 'lib/couch-shell/shell.rb', line 24 def varname @varname end |