diff options
| author | Ian Taylor <ian@lorf.org> | 2009-06-05 12:39:04 -0400 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-06-06 09:12:00 +1000 |
| commit | 4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch) | |
| tree | 126540beec3c65448e01e1b48d27275ec4ee6ea4 /lib/puppet/relationship.rb | |
| parent | 97e6975d69f239e24993315a25a3117b1daa48c3 (diff) | |
| download | puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.gz puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.xz puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.zip | |
Removed extra whitespace from end of lines
Diffstat (limited to 'lib/puppet/relationship.rb')
| -rw-r--r-- | lib/puppet/relationship.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/relationship.rb b/lib/puppet/relationship.rb index 984dffeeb..97c84ac0e 100644 --- a/lib/puppet/relationship.rb +++ b/lib/puppet/relationship.rb @@ -13,7 +13,7 @@ class Puppet::Relationship attr_accessor :source, :target, :callback attr_reader :event - + def event=(event) if event != :NONE and ! callback raise ArgumentError, "You must pass a callback for non-NONE events" @@ -31,9 +31,9 @@ class Puppet::Relationship end end end - + # Does the passed event match our event? This is where the meaning - # of :NONE comes from. + # of :NONE comes from. def match?(event) if self.event.nil? or event == :NONE or self.event == :NONE return false @@ -50,7 +50,7 @@ class Puppet::Relationship result[:event] = event if event result end - + def ref "%s => %s" % [source, target] end |
