instance method columns=

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

columns=(c)

The total width of the format area. The margins, indentation, and text are formatted into this space. The value provided is silently converted to a positive integer.

                           COLUMNS
<-------------------------------------------------------------->
<-----------><------><---------------------------><------------>
 left margin  indent  text is formatted into here  right margin
Default

72

Used in

#format, #paragraphs, #center

Parameters

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

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