class Mail::Matchers::AttachmentMimeTypeMatcher
Attributes
Public Class Methods
Source
# File lib/mail/matchers/attachment_matchers.rb, line 35 def initialize(mime_type) @mime_type = mime_type end
Public Instance Methods
Source
# File lib/mail/matchers/attachment_matchers.rb, line 39 def ===(other) other.attachment? && other.mime_type == mime_type end