Class: ActionMailer::Base::NullMail

Inherits:
Object
  • Object
show all
Defined in:
lib/action_mailer/base.rb

Overview

:nodoc:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missingObject



666
667
668
# File 'lib/action_mailer/base.rb', line 666

def method_missing(...)
  nil
end

Instance Method Details

#bodyObject



659
# File 'lib/action_mailer/base.rb', line 659

def body; "" end

#headerObject



660
# File 'lib/action_mailer/base.rb', line 660

def header; {} end

#respond_to?(string, include_all = false) ⇒ Boolean

Returns:

  • (Boolean)


662
663
664
# File 'lib/action_mailer/base.rb', line 662

def respond_to?(string, include_all = false)
  true
end