find

find()
Instance Public methods

Iterates over the directory tree in a depth first manner, yielding a Pathname for each file under âthisâ directory.

Returns an Enumerator if no block is given.

Since it is implemented by the standard library module Find, Find.prune can be used to control the traversal.

If self is ., yielded pathnames begin with a filename in the current directory, not ./.

See Find.find

doc_ruby_on_rails
2015-04-27 19:25:24
Comments
Leave a Comment

Please login to continue.