instance method first_indent=

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

first_indent=(f)

The number of spaces to indent 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

4

Used in

#format, #paragraphs

Parameters

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

Defined in actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb line 266 · 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