diff options
| author | Luke Kanies <luke@madstop.com> | 2008-01-07 19:24:10 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-01-07 19:24:10 -0600 |
| commit | 40addcd1920b0fa2f558c415e65ea665bac812f9 (patch) | |
| tree | d2792c1d8c84d2cfaed6b48a4642d3ef29ba79c9 /lib/puppet/relationship.rb | |
| parent | 927dff41df8f1c236c54eaee9fa1db7a3efaf02a (diff) | |
| download | puppet-40addcd1920b0fa2f558c415e65ea665bac812f9.tar.gz puppet-40addcd1920b0fa2f558c415e65ea665bac812f9.tar.xz puppet-40addcd1920b0fa2f558c415e65ea665bac812f9.zip | |
Fixing #982 -- I have completely removed the GRATR graph library
from the system, and implemented my own topsort method.
Diffstat (limited to 'lib/puppet/relationship.rb')
| -rw-r--r-- | lib/puppet/relationship.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/puppet/relationship.rb b/lib/puppet/relationship.rb index c611928f2..05b7dc39e 100644 --- a/lib/puppet/relationship.rb +++ b/lib/puppet/relationship.rb @@ -59,7 +59,11 @@ class Puppet::Relationship end def ref - "%s => %s" % [source.ref, target.ref] + "%s => %s" % [source, target] + end + + def to_s + ref end end |
