class Lookbook::EntityTree
def children_of(parent)
def children_of(parent) nodes.select do |node| node.depth == parent.depth + 1 && node.lookup_path.start_with?("#{parent.lookup_path}/") end end
def children_of(parent) nodes.select do |node| node.depth == parent.depth + 1 && node.lookup_path.start_with?("#{parent.lookup_path}/") end end