attribute format_style

Ruby on Rails 2.3.18

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.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close