1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make ActionMailer::Base.respond_to_missing? private

This commit is contained in:
Ryan Buckley 2015-12-03 10:34:21 -10:00
parent e899dfac47
commit 50593cc205

View file

@ -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