Exception: YARD::Handlers::NamespaceMissingError
- Inherits:
-
Parser::UndocumentableError
- Object
- Exception
- Parser::UndocumentableError
- YARD::Handlers::NamespaceMissingError
- Defined in:
- lib/yard/handlers/base.rb
Overview
Raised during processing phase when a handler needs to perform an operation on an object’s namespace but the namespace could not be resolved.
Instance Attribute Summary collapse
-
#object ⇒ CodeObjects::Base
The object the error occurred on.
Instance Method Summary collapse
-
#initialize(object) ⇒ NamespaceMissingError
constructor
A new instance of NamespaceMissingError.
Constructor Details
#initialize(object) ⇒ NamespaceMissingError
Returns a new instance of NamespaceMissingError.
11 |
# File 'lib/yard/handlers/base.rb', line 11 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ CodeObjects::Base
The object the error occurred on
9 10 11 |
# File 'lib/yard/handlers/base.rb', line 9 def object @object end |