+22
−10
lib/jsduck/tree.rb
0 → 100644
+115
−0
test/tc_tree.rb
0 → 100644
+49
−0
Loading
JsDuck::Tree creates from doc-object list a tree structure consisting of Ruby Hashes and Arrays. Another method in jsduck.rb converts this to JSON and outputs. For all this added a unit test, but with it's single test it's mostly just a sanity check. The previous debug output was removed to separate method.