instance method attachment?

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

attachment?(part)

No documentation comment.

Parameters

part req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb, line 31
    def attachment?(part)
      part.disposition_is_attachment? || (!part.content_type.nil? && !part.text_content_type?) unless part.multipart?
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb line 31 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::Mail

Type at least 2 characters to search.

↑↓ navigate · open · esc close