Parent

Files

Mail::Message

Public Instance Methods

old_transfer_encoding(value = nil) click to toggle source
Alias for: transfer_encoding
original_filename() click to toggle source
# File lib/action_mailer/tmail_compat.rb, line 27
def original_filename
  ActiveSupport::Deprecation.warn('Message#original_filename is deprecated, ' <<
                                  'please call Message#filename', caller[0,2])
  filename
end
set_content_type(*args) click to toggle source
# File lib/action_mailer/tmail_compat.rb, line 4
def set_content_type(*args)
  ActiveSupport::Deprecation.warn('Message#set_content_type is deprecated, please just call ' <<
                                  'Message#content_type with the same arguments', caller[0,2])
  content_type(*args)
end
transfer_encoding(value = nil) click to toggle source
# File lib/action_mailer/tmail_compat.rb, line 11
def transfer_encoding(value = nil)
  if value
    ActiveSupport::Deprecation.warn('Message#transfer_encoding is deprecated, please call ' <<
                                    'Message#content_transfer_encoding with the same arguments', caller[0,2])
    content_transfer_encoding(value)
  else
    old_transfer_encoding
  end
end
Also aliased as: old_transfer_encoding
transfer_encoding=(value) click to toggle source
# File lib/action_mailer/tmail_compat.rb, line 21
def transfer_encoding=(value)
  ActiveSupport::Deprecation.warn('Message#transfer_encoding= is deprecated, please call ' <<
                                  'Message#content_transfer_encoding= with the same arguments', caller[0,2])
  self.content_transfer_encoding = value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.