Sha256: 491ae6e5f01fab36d59b939b16f465a7780d8e0c59143152963fd69f9a78f0b2
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
# -*- coding: utf-8 -*- cwd = File.expand_path( File.join( File.dirname(__FILE__), "..", "..", "lib" ) ) $:.unshift(cwd) unless $:.include?(cwd) require 'treevisitor' include TreeVisitor dtw = DirTreeWalker.new( :ignore => ".git" ) dtw.run ".." do on_visit_leaf_node do |pathname| puts pathname end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
treevisitor-0.1.6 | examples/directory_walker/print_files.rb |