attribute hard_margins

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Normally, words larger than the format area will be placed on a line by themselves. Setting this to true will force words larger than the format area to be split into one or more “words” each at most the size of the format area. The first line and the original word will be placed into #split_words. Note that this will cause the output to look similar to a #format_style of JUSTIFY. (Lines will be filled as much as possible.)

Default

false

Used in

#format, #paragraphs

Type at least 2 characters to search.

↑↓ navigate · open · esc close