Sha256: c2e327710209491b3b447110a5c571ae1b6433165f7633be56d112e30808efc8
Contents?: true
Size: 392 Bytes
Versions: 9
Compression:
Stored size: 392 Bytes
Contents
require File.dirname(__FILE__) + '/helper' # class TestTreeRecursion < Test::Unit::TestCase # def test_ # r = Repo.new("/Users/tom/dev/god") # t = r.tree("HEAD") # # recurse(t) # end # # def recurse(tree, indent = "") # tree.contents.each do |c| # # puts "#{indent}#{c.name} (#{c.id})" # recurse(c, indent + " ") if c.kind_of?(Tree) # end # end # end
Version data entries
9 entries across 9 versions & 3 rubygems