plugins/identity/app/models/identity/project_tree.rb
# Wrapper for project and project's children
Wrapper for project and project's children
Wrapper for project and project ' s children
def print_tree(nodes = [], prefix = '')
      nodes.each do |node|
        puts "#{prefix}#{node.name}\n"
        print_tree(node.children, "#{prefix}\t")
      end
    end
def print_tree ( nodes = [ ] , prefix = '' ) nodes . each do | node | puts "#{prefix}#{node.name}\n" print_tree ( node . children , "#{prefix}\t" ) end end
Wrapper for project and project's children
Wrapper for project and project ' s children
nodes
<not_specific>
prefix
<not_specific>