Considers each element of text (provided or internal) as a paragraph. If #first_indent is the same as #body_indent, then paragraphs will be separated by a single empty line in the result; otherwise, the paragraphs will follow immediately after each other. Uses #format to do the heavy lifting.
Source Code
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 902 def paragraphs(to_wrap = nil) to_wrap = @text if to_wrap.nil? __paragraphs([to_wrap].flatten) end
<code/>and<pre/>for code samples.