From 51a269b2282ec09cf58614e738a2d0e40d2909d3 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 9 Mar 2011 20:17:30 -0200 Subject: Fix typo --- actionmailer/lib/action_mailer/mail_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/lib') 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 = [[]] -- cgit v1.2.3