aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-03-09 20:17:30 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2011-03-09 20:17:30 -0200
commit51a269b2282ec09cf58614e738a2d0e40d2909d3 (patch)
tree6cc837ecfe3616bb6c20a9c338a1a61e0b6e50a4 /actionmailer/lib
parent8e73e589a8949c8162f81148bb497804fa641e1d (diff)
downloadrails-51a269b2282ec09cf58614e738a2d0e40d2909d3.tar.gz
rails-51a269b2282ec09cf58614e738a2d0e40d2909d3.tar.bz2
rails-51a269b2282ec09cf58614e738a2d0e40d2909d3.zip
Fix typo
Diffstat (limited to 'actionmailer/lib')
-rw-r--r--actionmailer/lib/action_mailer/mail_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/mail_helper.rb b/actionmailer/lib/action_mailer/mail_helper.rb
index e708e36369..6f22adc479 100644
--- a/actionmailer/lib/action_mailer/mail_helper.rb
+++ b/actionmailer/lib/action_mailer/mail_helper.rb
@@ -35,7 +35,7 @@ module ActionMailer
#
# my_text = "Here is a sample text with more than 40 characters"
#
- # simple_format(my_text, 25, 4)
+ # format_paragraph(my_text, 25, 4)
# # => " Here is a sample text with\n more than 40 characters"
def format_paragraph(text, len = 72, indent = 2)
sentences = [[]]