class ActionMailer::Base::LateAttachmentsProxy

Public Instance Methods

[]=(_name, _content) click to toggle source
# File lib/action_mailer/base.rb, line 714
def []=(_name, _content); _raise_error end
inline() click to toggle source
# File lib/action_mailer/base.rb, line 713
def inline; _raise_error end

Private Instance Methods

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