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)
-
- (Continuation) context
The context representing the point at which the load order error occurred.
Instance Method Summary (collapse)
-
- (LoadOrderError) initialize(context)
constructor
A new instance of LoadOrderError.
Constructor Details
- (LoadOrderError) initialize(context)
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
- (Continuation) context
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 |