method
each

Ruby latest stable (v2_5_5)
-
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 = true, site = true, home = true, gems = :latest, *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 |
~/.rdoc. 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 |