method
_raise_error
v6.1.7.7 -
Show latest stable
- Class:
ActionMailer::Base::LateAttachmentsProxy
_raise_error()private
No documentation available.
# File actionmailer/lib/action_mailer/base.rb, line 728
def _raise_error
raise RuntimeError, "Can't add attachments after `mail` was called.\n" "Make sure to use `attachments[]=` before calling `mail`."
end