Attribute

Format.format_style R

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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.