attribute hard_margins

Ruby on Rails 2.3.18

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.

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