diff options
author | Zachary Scott <e@zzak.io> | 2015-02-15 09:30:55 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2015-02-15 09:30:55 -0800 |
commit | 3960908f41ea638556493762937c440761af9a65 (patch) | |
tree | 9eb499e9828a99e0f99642d595010955b38c936b /actionmailer | |
parent | e825042c981e0f1cec0f45b09c2da0c1e30e607a (diff) | |
parent | 44a49e553428eed1c94bcc15ac5f6c461235c561 (diff) | |
download | rails-3960908f41ea638556493762937c440761af9a65.tar.gz rails-3960908f41ea638556493762937c440761af9a65.tar.bz2 rails-3960908f41ea638556493762937c440761af9a65.zip |
Merge pull request #18946 from davydovanton/format-paragraph-default-params
Added default values for #format_paragraph docs [skip ci]
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/mail_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/mail_helper.rb b/actionmailer/lib/action_mailer/mail_helper.rb index cc7935a7e0..227192f48d 100644 --- a/actionmailer/lib/action_mailer/mail_helper.rb +++ b/actionmailer/lib/action_mailer/mail_helper.rb @@ -33,6 +33,8 @@ module ActionMailer end # Returns +text+ wrapped at +len+ columns and indented +indent+ spaces. + # By default column length +len+ equals 72 characters and indent + # +indent+ equal two spaces. # # my_text = 'Here is a sample text with more than 40 characters' # |