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_missing(*args) ⇒ Object



608
609
610
# File 'lib/action_mailer/base.rb', line 608

def method_missing(*args)
  nil
end

Instance Method Details

#bodyObject



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

def body; '' end

#headerObject



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

def header; {} end

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

Returns:

  • (Boolean)


604
605
606
# File 'lib/action_mailer/base.rb', line 604

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