From edcbab5d046326cfbc69fdffafdaba033a125da8 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Sun, 12 Apr 2009 22:55:04 -0500 Subject: Removing duplicate method definition from SimpleGraph Signed-off-by: Luke Kanies --- lib/puppet/simple_graph.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/puppet') diff --git a/lib/puppet/simple_graph.rb b/lib/puppet/simple_graph.rb index cfcf13131..d6418e04f 100644 --- a/lib/puppet/simple_graph.rb +++ b/lib/puppet/simple_graph.rb @@ -422,14 +422,6 @@ class Puppet::SimpleGraph system('dotty', dotfile) end - # Just walk the tree and pass each edge. - def walk(source, direction, &block) - adjacent(source, :direction => direction).each do |target| - yield source, target - walk(target, direction, &block) - end - end - # Use +dot+ to create a graphical representation of the graph. Returns the # filename of the graphics file. def write_to_graphic_file (fmt='png', dotfile='graph') -- cgit