# File lib/rdoc/code_objects.rb, line 429def find_module_named(name)# First check the enclosed modules, then check the module itself,# then check the enclosing modules (this mirrors the check done by# the Ruby parser)res=@modules[name]||@classes[name]returnresifresreturnselfifself.name==namefind_enclosing_module_named(name)end