attribute format_style

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Specifies the format style. Allowable values are:

LEFT_ALIGN

Left justified, ragged right.

|A paragraph that is|
|left aligned.|
RIGHT_ALIGN

Right justified, ragged left.

|A paragraph that is|
|     right aligned.|
RIGHT_FILL

Left justified, right ragged, filled to width by spaces. (Essentially the same as LEFT_ALIGN except that lines are padded on the right.)

|A paragraph that is|
|left aligned.      |
JUSTIFY

Fully justified, words filled to width by spaces, except the last line.

|A paragraph  that|
|is     justified.|
Default

Text::Format::LEFT_ALIGN

Used in

#format, #paragraphs

Type at least 2 characters to search.

↑↓ navigate · open · esc close