mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo
This commit is contained in:
parent
8e73e589a8
commit
51a269b228
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module ActionMailer
|
||||||
#
|
#
|
||||||
# my_text = "Here is a sample text with more than 40 characters"
|
# 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"
|
# # => " Here is a sample text with\n more than 40 characters"
|
||||||
def format_paragraph(text, len = 72, indent = 2)
|
def format_paragraph(text, len = 72, indent = 2)
|
||||||
sentences = [[]]
|
sentences = [[]]
|
||||||
|
|
Loading…
Reference in a new issue