Exception: Httpdoc::Rendering::UndefinedConstantError
- Inherits:
-
Exception
- Object
- Exception
- Httpdoc::Rendering::UndefinedConstantError
- 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) ⇒ UndefinedConstantError
constructor
A new instance of UndefinedConstantError.
Constructor Details
#initialize(name) ⇒ UndefinedConstantError
Returns a new instance of UndefinedConstantError.
17 18 19 20 |
# File 'lib/httpdoc/rendering.rb', line 17 def initialize(name) super("Undefined constant #{name}") @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
21 22 23 |
# File 'lib/httpdoc/rendering.rb', line 21 def name @name end |