Permalink
Browse files

Remove superfluous `self.` in Action Mailer mail method documetation

Notation with `self` was sugestted at 0b05acd, when self.defaults was
extlib_inheritable_accessor. But now all Action Mailer examples are
without this self. It's nicer.
  • Loading branch information...
avakhov committed Apr 23, 2013
1 parent a145c1b commit e1df81c2050fee6758eaad073bc56795cfc9f467
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionmailer/lib/action_mailer/base.rb
@@ -596,9 +596,9 @@ def attachments
# class method:
#
# class Notifier < ActionMailer::Base
- # self.default from: 'no-reply@test.lindsaar.net',
- # bcc: 'email_logger@test.lindsaar.net',
- # reply_to: 'bounces@test.lindsaar.net'
+ # default from: 'no-reply@test.lindsaar.net',
+ # bcc: 'email_logger@test.lindsaar.net',
+ # reply_to: 'bounces@test.lindsaar.net'
# end
#
# If you need other headers not listed above, you can either pass them in

0 comments on commit e1df81c

Please sign in to comment.