Class: ActionMailer::Base::NullMail

Inherits:
Object
  • Object
show all
Defined in:
actionmailer/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_missing(*args) ⇒ Object


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

def method_missing(*args)
  nil
end

Instance Method Details

#bodyObject


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

def body; "" end

#headerObject


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

def header; {} end

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

Returns:

  • (Boolean)

656
657
658
# File 'actionmailer/lib/action_mailer/base.rb', line 656

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