Exception: CouchShell::UndefinedVariable
- Inherits:
-
ShellUserError
- Object
- Exception
- ShellUserError
- CouchShell::UndefinedVariable
- Defined in:
- lib/couch-shell/exceptions.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.
15 16 17 |
# File 'lib/couch-shell/exceptions.rb', line 15 def initialize(varname) @varname = varname end |
Instance Attribute Details
#varname ⇒ Object (readonly)
Returns the value of attribute varname.
13 14 15 |
# File 'lib/couch-shell/exceptions.rb', line 13 def varname @varname end |