Patches: Browse | Submit New | Admin

[#27033] recursively add children and grandchildren according to a "path"

Date:
2009-09-01 15:24
Priority:
3
Submitted By:
Guido De Rosa (gderosa)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
recursively add children and grandchildren according to a "path"

Detailed description
With this patch you may turn:

[ROOT]

into:

[ROOT]->[child]->[grandchild]->[grand-granchild] (with content)

with just one method call

myTreeRoot.add_recursive("child/grandchild/grand-grandchild", "my awesome content")

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
rubytree_add_recursive.diff recursively add children and grandchildren according to a "path" Download

Changes:

Field Old Value Date By
File Added4706: rubytree_add_recursive.diff2009-09-01 15:24gderosa