method
each

v1_9_2_180 -
Show latest stable
-
0 notes -
Class: Paths
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180 (0)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6
- 2_5_5
- 2_6_3
- What's this?
each(system, site, home, gems, *extra_dirs)
public
Iterates over each selected path yielding the directory and type.
Yielded types:
:system |
Where Ruby’s ri data is stored. Yielded when system is |
true
:site |
Where ri for installed libraries are stored. Yielded when |
+site+ is true. Normally no ri data is stored here.
:home |
~/.ri. Yielded when home is true. |
:gem |
ri data for an installed gem. Yielded when gems is true. |
:extra |
ri data directory from the command line. Yielded for each |
entry in +extra_dirs+