summaryrefslogtreecommitdiffstats
path: root/lib/puppet/pgraph.rb
diff options
context:
space:
mode:
authorRick Bradley <rick@rickbradley.com>2007-10-09 11:29:13 -0500
committerRick Bradley <rick@rickbradley.com>2007-10-09 11:29:13 -0500
commitfdfe807bd986a2b27f0dfd0cecde1a33aeee309b (patch)
tree0b6375bdefa041a7d4fbab9745ed084fb025bc30 /lib/puppet/pgraph.rb
parent42b98562b5237797e1a51fdcdd57aa3c6825b404 (diff)
parent01f132d8b88467dfd314ad355f1cdf9f546945b3 (diff)
downloadpuppet-fdfe807bd986a2b27f0dfd0cecde1a33aeee309b.tar.gz
puppet-fdfe807bd986a2b27f0dfd0cecde1a33aeee309b.tar.xz
puppet-fdfe807bd986a2b27f0dfd0cecde1a33aeee309b.zip
Merge branch 'master' of git://reductivelabs.com/puppet into routing
Diffstat (limited to 'lib/puppet/pgraph.rb')
-rw-r--r--lib/puppet/pgraph.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/pgraph.rb b/lib/puppet/pgraph.rb
index 2399d1651..ca45aa2b3 100644
--- a/lib/puppet/pgraph.rb
+++ b/lib/puppet/pgraph.rb
@@ -190,6 +190,10 @@ class Puppet::PGraph < GRATR::Digraph
return result
end
+ def to_yaml_properties
+ instance_variables
+ end
+
# A different way of walking a tree, and a much faster way than the
# one that comes with GRATR.
def tree_from_vertex2(start, direction = :out)