diff options
author | Ryan Buckley <arebuckley@gmail.com> | 2015-12-03 10:34:21 -1000 |
---|---|---|
committer | Ryan Buckley <arebuckley@gmail.com> | 2015-12-03 10:34:39 -1000 |
commit | 50593cc205fbcc0d2cec1d12d28a35ed6ceb3c2a (patch) | |
tree | 52b37b691574d7fd424b52d13138e665ae2a72e6 /actionmailer/lib | |
parent | e899dfac47e4667305d6f6db3f0ecacae44b3bdd (diff) | |
download | rails-50593cc205fbcc0d2cec1d12d28a35ed6ceb3c2a.tar.gz rails-50593cc205fbcc0d2cec1d12d28a35ed6ceb3c2a.tar.bz2 rails-50593cc205fbcc0d2cec1d12d28a35ed6ceb3c2a.zip |
Make ActionMailer::Base.respond_to_missing? private
Diffstat (limited to 'actionmailer/lib')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index ea07c951f4..cbbf480da8 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -541,10 +541,6 @@ module ActionMailer end end - def respond_to_missing?(method, include_private = false) #:nodoc: - action_methods.include?(method.to_s) - end - protected def set_payload_for_mail(payload, mail) #:nodoc: @@ -566,6 +562,12 @@ module ActionMailer super end end + + private + + def respond_to_missing?(method, include_all = false) #:nodoc: + action_methods.include?(method.to_s) + end end attr_internal :message |