lib/puppet/relationship.rb
# Does the passed event match our event?  This is where the meaning
# of :NONE comes from.
Does the passed event match our event.  This is where the meaning
of :NONE comes from.
Does the passed event match our event . This is where the meaning of : NONE comes from .
def match?(event)
    if self.event.nil? or event == :NONE or self.event == :NONE
      return false
    elsif self.event == :ALL_EVENTS or event == self.event
      return true
    else
      return false
    end
  end
def match? ( event ) if self . event . nil? or event == :NONE or self . event == :NONE return false elsif self . event == :ALL_EVENTS or event == self . event return true else return false end end
Does the passed event match our event?
Does the passed event match our event?
event
<not_specific>