368 <hr /> |
368 <hr /> |
369 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
369 <a NAME="readmodule_ex" ID="readmodule_ex"></a> |
370 <h2>readmodule_ex</h2> |
370 <h2>readmodule_ex</h2> |
371 <b>readmodule_ex</b>(<i>module, path=None, isTypeFile=False</i>) |
371 <b>readmodule_ex</b>(<i>module, path=None, isTypeFile=False</i>) |
372 |
372 |
|
373 <p> |
|
374 Read a Ruby file and return a dictionary of classes, functions and modules. |
|
375 </p> |
|
376 <dl> |
|
377 |
|
378 <dt><i>module</i> (str)</dt> |
|
379 <dd> |
|
380 name of the Ruby file |
|
381 </dd> |
|
382 <dt><i>path</i> (list of str)</dt> |
|
383 <dd> |
|
384 path the file should be searched in |
|
385 </dd> |
|
386 <dt><i>isTypeFile</i> (bool)</dt> |
|
387 <dd> |
|
388 flag indicating a file of this type |
|
389 </dd> |
|
390 </dl> |
|
391 <dl> |
|
392 <dt>Return:</dt> |
|
393 <dd> |
|
394 the resulting dictionary |
|
395 </dd> |
|
396 </dl> |
|
397 <dl> |
|
398 <dt>Return Type:</dt> |
|
399 <dd> |
|
400 dict |
|
401 </dd> |
|
402 </dl> |
373 <div align="right"><a href="#top">Up</a></div> |
403 <div align="right"><a href="#top">Up</a></div> |
374 <hr /> |
404 <hr /> |
375 <hr /> |
405 <hr /> |
376 <a NAME="scan" ID="scan"></a> |
406 <a NAME="scan" ID="scan"></a> |
377 <h2>scan</h2> |
407 <h2>scan</h2> |