# File lib/dbus/matchrule.rb, line 40
    def type=(t)
      if not ['signal', 'method_call', 'method_return', 'error'].member?(t)
        raise MatchRuleException, t
      end
      @type = t
    end