Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Add a prune() method to escape a tree from within a find() block #2

Description

@thomasfl

When used inside a 'find' block, a 'prune' method should skip the current file or directory, restart the loop with the next entry. Thus making the find method behave more like the find method in the find.rb standard library:
http://ruby-doc.org/stdlib/libdoc/find/rdoc/index.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions