Exception: Httpdoc::Rendering::UndefinedVariableError
- Inherits:
-
Exception
- Object
- Exception
- Httpdoc::Rendering::UndefinedVariableError
- Defined in:
- lib/httpdoc/rendering.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ UndefinedVariableError
constructor
A new instance of UndefinedVariableError.
Constructor Details
#initialize(name) ⇒ UndefinedVariableError
Returns a new instance of UndefinedVariableError.
9 10 11 12 |
# File 'lib/httpdoc/rendering.rb', line 9 def initialize(name) super("Undefined variable #{name}") @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'lib/httpdoc/rendering.rb', line 13 def name @name end |