Class: Mailman::Route::SubjectCondition

Inherits:
Condition
  • Object
show all
Defined in:
lib/mailman/route/conditions.rb

Overview

Matches against the Subject of a message.

Instance Attribute Summary

Attributes inherited from Condition

#matcher

Instance Method Summary collapse

Methods inherited from Condition

inherited, #initialize

Constructor Details

This class inherits a constructor from Mailman::Route::Condition

Instance Method Details

#match(message) ⇒ Object


32
33
34
# File 'lib/mailman/route/conditions.rb', line 32

def match(message)
  @matcher.match(message.subject)
end