class Rigor::ModuleGraph::CycleDetector::Cycle
One detected cycle, expressed as the list of node names along it. Always rotated so the lexicographically smallest name comes first, so the rendered output is stable across runs.
Public Instance Methods
Source
# File lib/rigor/module_graph/cycle_detector.rb, line 30 def to_s nodes.join(" -> ") + " -> " + nodes.first end
repeat of the first node so the round-trip is obvious).