Exception: YARD::Parser::LoadOrderError
- Inherits:
-
Exception
- Object
- Exception
- YARD::Parser::LoadOrderError
- Defined in:
- lib/yard/parser/source_parser.rb
Overview
A LoadOrderError occurs when a handler needs to modify a CodeObjects::NamespaceObject (usually by adding a child to it) that has not yet been resolved.
Instance Attribute Summary collapse
-
#context ⇒ Continuation
The context representing the point at which the load order error occurred.
Instance Method Summary collapse
-
#initialize(context) ⇒ LoadOrderError
constructor
A new instance of LoadOrderError.
Constructor Details
#initialize(context) ⇒ LoadOrderError
Returns a new instance of LoadOrderError.
27 28 29 |
# File 'lib/yard/parser/source_parser.rb', line 27 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Continuation
Returns the context representing the point at which the load order error occurred.
24 25 26 |
# File 'lib/yard/parser/source_parser.rb', line 24 def context @context end |