method
preorder_traverse
preorder_traverse()
public
Hide source
# File lib/fileutils.rb, line 1461 def preorder_traverse stack = [self] while ent = stack.pop yield ent stack.concat ent.entries.reverse if ent.directory? end end