class Walk::Down
- Walk::Down
- Reference
- Object
Included Modules
- Iterator(Path)
Defined in:
walk/down.crConstructors
-
.new(path : Path)
Creates iterator.
- .new(path : String)
Instance Method Summary
- #current : Path | Nil
- #current=(current : Path | Nil)
-
#filter(&predicate : Path -> Bool)
Returns an iterator for pruning the entries in the directory tree.
-
#next
Returns the next element.
-
#rewind
Rewinds iterator.
-
#root : Path
Properties
-
#root=(root : Path)
Properties
-
#skip
Skips entry.
- #stack : Array(Path)
- #stack=(stack : Array(Path))
Constructor Detail
Instance Method Detail
def filter(&predicate : Path -> Bool)
#
Returns an iterator for pruning the entries in the directory tree.