summaryrefslogtreecommitdiffstats
path: root/lib/puppet/relationship.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-07 19:24:10 -0600
committerLuke Kanies <luke@madstop.com>2008-01-07 19:24:10 -0600
commit40addcd1920b0fa2f558c415e65ea665bac812f9 (patch)
treed2792c1d8c84d2cfaed6b48a4642d3ef29ba79c9 /lib/puppet/relationship.rb
parent927dff41df8f1c236c54eaee9fa1db7a3efaf02a (diff)
downloadpuppet-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.rb6
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