diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-09 10:54:21 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-09 10:54:21 -0500 |
commit | 32753e11d9cd731760ec8ba3c4f1ad2e3402535e (patch) | |
tree | 0b6375bdefa041a7d4fbab9745ed084fb025bc30 /lib/puppet/pgraph.rb | |
parent | afa1dee5eb3a8b5249715e61f9894b04ab34a6ae (diff) | |
parent | 01f132d8b88467dfd314ad355f1cdf9f546945b3 (diff) | |
download | puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.tar.gz puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.tar.xz puppet-32753e11d9cd731760ec8ba3c4f1ad2e3402535e.zip |
Merge branch 'master' of git://michaelobrien.info/puppet into michael
Diffstat (limited to 'lib/puppet/pgraph.rb')
-rw-r--r-- | lib/puppet/pgraph.rb | 4 |
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) |