aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-07-30 02:30:04 +0200
committerXavier Noria <fxn@hashref.com>2010-07-30 02:30:04 +0200
commit755af497555fde16db86f7e51f6462b0aca79b49 (patch)
tree9280835167f7ea7422df010f67c65c729dd26de1 /actionmailer
parenta7a6a2ff46b173b420bd493d727772531d72658f (diff)
downloadrails-755af497555fde16db86f7e51f6462b0aca79b49.tar.gz
rails-755af497555fde16db86f7e51f6462b0aca79b49.tar.bz2
rails-755af497555fde16db86f7e51f6462b0aca79b49.zip
edit pass to apply API guideline wrt the use of "# =>" in example code
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index 7bbde53306..64d3b29513 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -496,10 +496,10 @@ module ActionMailer #:nodoc:
# You can also search for specific attachments:
#
# # By Filename
- # mail.attachments['filename.jpg'] #=> Mail::Part object or nil
+ # mail.attachments['filename.jpg'] # => Mail::Part object or nil
#
# # or by index
- # mail.attachments[0] #=> Mail::Part (first attachment)
+ # mail.attachments[0] # => Mail::Part (first attachment)
#
def attachments
@_message.attachments