lib/place/work_item.rb
# Returns workitem effective children (linked in with a parent role)
Returns workitem effective children (linked in with a parent role)
Returns workitem effective children ( linked in with a parent role )
def children
    tmp = [].to_set
	project.parent_roles.each do |role|
	  tmp.merge(links_in(role).map{|lnk| lnk.from})  unless links_in(role).empty?
	end
    tmp.to_a
  end
def children tmp = [ ] . to_set project . parent_roles . each do | role | tmp . merge ( links_in ( role ) . map { | lnk | lnk . from } ) unless links_in ( role ) . empty? end tmp . to_a end
Returns workitem effective children (linked in with a parent role)
Returns workitem effective children ( linked in with a parent role )