4 5 6 7 8
# File 'lib/mementus/pipes/outgoing_edges.rb', line 4 def process(node) @graph.each_adjacent(node.id).map do |id| Mementus::Edge.new(from: node, to: id) end end