123456789_123456789_123456789_123456789_123456789_

Class: ActionMailer::Base::LateAttachmentsProxy

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SimpleDelegator
Instance Chain:
self, SimpleDelegator
Inherits: SimpleDelegator
  • ::Object
Defined in: actionmailer/lib/action_mailer/base.rb

Instance Method Summary

Instance Method Details

#[]=(_name, _content)

[ GitHub ]

  
# File 'actionmailer/lib/action_mailer/base.rb', line 770

def []=(_name, _content); _raise_error end

#_raise_error (private)

Raises:

  • (RuntimeError)
[ GitHub ]

  
# File 'actionmailer/lib/action_mailer/base.rb', line 773

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

#inline

[ GitHub ]

  
# File 'actionmailer/lib/action_mailer/base.rb', line 769

def inline; self end