class ActionMailer::Base::LateAttachmentsProxy - actionmailer-4.2.3 Documentation

# class ActionMailer::Base::LateAttachmentsProxy

### Public Instance Methods

[]=(_name, _content) click to toggle source

    # File lib/action_mailer/base.rb, line 701
    def []=(_name, _content); _raise_error end

inline() click to toggle source

    # File lib/action_mailer/base.rb, line 700
    def inline; _raise_error end

### Private Instance Methods

_raise_error() click to toggle source

    # File lib/action_mailer/base.rb, line 704
    def _raise_error
      raise RuntimeError, "Can't add attachments after `mail` was called.\n"                                "Make sure to use `attachments[]=` before calling `mail`."
    end