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 ⇒ Object



677
678
679
# File 'lib/action_mailer/base.rb', line 677

def method_missing(...)
  nil
end

Instance Method Details

#body ⇒ Object



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

def body; "" end

#header ⇒ Object



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

def header; {} end

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

Returns:

  • (Boolean)


673
674
675
# File 'lib/action_mailer/base.rb', line 673

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