Flowdock
method

each

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Paths
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

~/.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

Show source
Register or log in to add new notes.