Method: NEAT::Graph::DependencyResolver#resolve!
- Defined in:
- lib/rubyneat/graph.rb
#resolve! ⇒ Object
Throw an exception if dependencies are found. We only return the dependency list since we throw an exception on circular dependencies.
69 70 71 72 73 |
# File 'lib/rubyneat/graph.rb', line 69 def resolve! dl, cl = resolve raise GraphException("Circular Dependency Detected: %s" % cl) unless cl.nil? dl end |