each

each(system = true, site = true, home = true, gems = :latest, *extra_dirs)
Class Public methods

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

doc_ruby_on_rails
2015-05-04 05:38:03
Comments
Leave a Comment

Please login to continue.