Sha256: 4172987b874c61bfeb838a13e3925ec00f8f37282dca624cce68d6f208c8ad8a
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
# -*- coding: utf-8 -*- require 'tree_rb/output_dircat/entry' require 'tree_rb/output_dircat/dircat_visitor' module TreeRb class DirCatHelper def run(directory_tree_walker, options) unless options[:output] $stderr.puts "need to specify the -o options" else filename = options[:output] visitor = DirCatVisitor.new(filename) #start = Time.now #me = self #bytes = 0 directory_tree_walker.run(visitor) visitor.save_to end end end end # module
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tree.rb-0.3.11 | lib/tree_rb/output_dircat/dircat_helper.rb |