Sha256: b4afb3fee117d8800874ba8834cc5d5e63b763de17977698a782d7efbec65f88
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
# -*- coding: utf-8 -*- cwd = File.expand_path( File.join( File.dirname(__FILE__), "..", "..", "lib" ) ) $:.unshift(cwd) unless $:.include?(cwd) require 'tree_rb' include TreeRb dtw = DirTreeWalker.new( :ignore => ".git" ) dtw.run ".." do on_leaf do |pathname| puts "- #{pathname}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tree.rb-0.3.10 | examples/ruby_examples/print_files.rb |
tree.rb-0.3.9 | examples/ruby_examples/print_files.rb |