webapp/app/models/nlp/package.rb
# Used to disable nlp sync if necessary via
# Nlp::Package.sync_active = false
Used to disable nlp sync if necessary via
Nlp::Package.sync_active = false
Used to disable nlp sync if necessary via Nlp :: Package . sync_active = false
def full_packages_map(agent)
      return { agent.id => agent } if agent.successors.nil?
      result = { agent.id => agent }
      agent.successors.each do |successor|
        result.merge! full_packages_map(successor)
      end
      result
    end
def full_packages_map ( agent ) return { agent . id => agent } if agent . successors . nil? result = { agent . id => agent } agent . successors . each do | successor | result . merge! full_packages_map ( successor ) end result end
Used to disable nlp sync if necessary via
Nlp::Package.sync_active = false
Used to disable nlp sync if necessary via Nlp :: Package . sync_active = false
agent
<not_specific>