diff options
author | Luke Kanies <luke@madstop.com> | 2009-04-12 22:55:04 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2009-04-12 22:55:04 -0500 |
commit | edcbab5d046326cfbc69fdffafdaba033a125da8 (patch) | |
tree | 6c2ca1b71f290e79717da45e1a05c1cf1baf3ac4 | |
parent | 39bd8af772d3b99fc83314d229a7d51bf3970a5f (diff) | |
download | puppet-edcbab5d046326cfbc69fdffafdaba033a125da8.tar.gz puppet-edcbab5d046326cfbc69fdffafdaba033a125da8.tar.xz puppet-edcbab5d046326cfbc69fdffafdaba033a125da8.zip |
Removing duplicate method definition from SimpleGraph
Signed-off-by: Luke Kanies <luke@madstop.com>
-rw-r--r-- | lib/puppet/simple_graph.rb | 8 |
1 files changed, 0 insertions, 8 deletions
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') |