class ActiveFacts::Metamodel::Topic

Public Instance Methods

precursors() click to toggle source
# File lib/activefacts/metamodel/extensions.rb, line 171
def precursors
  # Precursors of a topic are the topics of all precursors of items in this topic
  all_concept.map{|c| c.precursors }.flatten.uniq.map{|c| c.topic}.uniq-[self]
end