Class: Mementus::Pipes::Out

Inherits:
Object
  • Object
show all
Defined in:
lib/mementus/pipeline.rb

Instance Method Summary collapse

Instance Method Details

#process(graph, node) ⇒ Object



56
57
58
59
60
# File 'lib/mementus/pipeline.rb', line 56

def process(graph, node)
  graph.each_adjacent(node.id).map do |id|
    Mementus::NodeProxy.new(id, graph)
  end
end