Exception: YARD::Parser::LoadOrderError

Inherits:
Exception
  • Object
show all
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.

See Also:

  • Handers::Base#ensure_loaded!

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ LoadOrderError



27
28
29
# File 'lib/yard/parser/source_parser.rb', line 27

def initialize(context)
  @context = context
end

Instance Attribute Details

#contextContinuation



24
25
26
# File 'lib/yard/parser/source_parser.rb', line 24

def context
  @context
end