lib/roda/plugins/mail_processor.rb
def match_header((key, value))
          return unless content = mail.header[key]

          if value.nil?
            @captures << content.decoded
          else
            _match_content(:header, value, content.decoded)
          end
        end
# Match against a header specified by key with the given
# value (which may be nil).
Match against a header specified by key with the given
value (which may be nil).
Match against a header specified by key with the given value ( which may be nil ) .
def match_header((key, value))
          return unless content = mail.header[key]
          if value.nil?
            @captures << content.decoded
          else
            _match_content(:header, value, content.decoded)
          end
        end
def match_header ( ( key , value ) ) return unless content = mail . header [ key ] if value . nil? @captures << content . decoded else _match_content ( :header , value , content . decoded ) end end
Match against a header specified by key with the given
value (which may be nil).
Match against a header specified by key with the given value ( which may be nil ) .
key
value