96:9624a110667d | 97:c4086afea02b |
---|---|
10 and to find out the superclasses of a class as well as its attributes. | 10 and to find out the superclasses of a class as well as its attributes. |
11 | 11 |
12 It is based on the Python class browser found in this package. | 12 It is based on the Python class browser found in this package. |
13 """ | 13 """ |
14 | 14 |
15 import sys | |
16 import os | |
17 import re | 15 import re |
18 | 16 |
19 import Utilities | 17 import Utilities |
20 import Utilities.ClassBrowsers as ClassBrowsers | 18 import Utilities.ClassBrowsers as ClassBrowsers |
21 from . import ClbrBaseClasses | 19 from . import ClbrBaseClasses |
243 | 241 |
244 @param module name of the Ruby file (string) | 242 @param module name of the Ruby file (string) |
245 @param path path the file should be searched in (list of strings) | 243 @param path path the file should be searched in (list of strings) |
246 @return the resulting dictionary | 244 @return the resulting dictionary |
247 ''' | 245 ''' |
248 | 246 global _modules |
247 | |
249 dict = {} | 248 dict = {} |
250 dict_counts = {} | 249 dict_counts = {} |
251 | 250 |
252 if module in _modules: | 251 if module in _modules: |
253 # we've seen this file before... | 252 # we've seen this file before... |