314 @rtype dict |
314 @rtype dict |
315 """ |
315 """ |
316 # search the path for the file |
316 # search the path for the file |
317 f = None |
317 f = None |
318 fullpath = [] if path is None else path[:] |
318 fullpath = [] if path is None else path[:] |
319 f, file, (suff, mode, type) = ClassBrowsers.find_module(module, fullpath) |
319 f, file, (_suff, _mode, type) = ClassBrowsers.find_module(module, fullpath) |
320 if f: |
320 if f: |
321 f.close() |
321 f.close() |
322 if type not in SUPPORTED_TYPES: |
322 if type not in SUPPORTED_TYPES: |
323 # not Ruby source, can't do anything with this module |
323 # not Ruby source, can't do anything with this module |
324 return {} |
324 return {} |