prune

prune()
Class Public methods

Skips the current file or directory, restarting the loop with the next entry. If the current file is a directory, that directory will not be recursively entered. Meaningful only within the block associated with ::find.

See the Find module documentation for an example.

doc_ruby_on_rails
2015-04-06 21:51:55
Comments
Leave a Comment

Please login to continue.