instance method body_indent=

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

body_indent=(b)

The number of spaces to indent all lines after the first line of a paragraph. The value provided is silently converted to a positive integer value.

                           columns
<-------------------------------------------------------------->
<-----------><------><---------------------------><------------>
 left margin  INDENT  text is formatted into here  right margin
Default

0

Used in

#format, #paragraphs

Parameters

b req
Source
# File actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb, line 293
    def body_indent=(b)
      @body_indent = posint(b)
    end

Defined in actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb line 293 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Text::Format

Type at least 2 characters to search.

↑↓ navigate · open · esc close