class ActionMailer::Base::LateAttachmentsProxy

def _raise_error

def _raise_error
  raise RuntimeError, "Can't add attachments after `mail` was called.\n" \
                      "Make sure to use `attachments[]=` before calling `mail`."
end