Method: RDoc::Parser::C#do_missing
- Defined in:
- lib/rdoc/parser/c.rb
#do_missing ⇒ Object
Creates classes and module that were missing were defined due to the file order being different than the declaration order.
508 509 510 511 512 513 514 515 516 517 518 |
# File 'lib/rdoc/parser/c.rb', line 508 def do_missing return if @missing_dependencies.empty? @enclosure_dependencies.tsort.each do |in_module| arguments = @missing_dependencies.delete in_module next unless arguments # dependency on existing class handle_class_module(*arguments) end end |