Method: Mail::Matchers::AttachmentMimeTypeMatcher#initialize
- Defined in:
- lib/mail/matchers/attachment_matchers.rb
#initialize(mime_type) ⇒ AttachmentMimeTypeMatcher
Returns a new instance of AttachmentMimeTypeMatcher.
35 36 37 |
# File 'lib/mail/matchers/attachment_matchers.rb', line 35 def initialize(mime_type) @mime_type = mime_type end |