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