fill_breakable

fill_breakable(sep=' ', width=sep.length)
Instance Public methods

This is similar to breakable except the decision to break or not is determined individually.

Two fill_breakable under a group may cause 4 results: (break,break), (break,non-break), (non-break,break), (non-break,non-break). This is different to breakable because two breakable under a group may cause 2 results: (break,break), (non-break,non-break).

The text sep+ is inserted if a line is not broken at this point.

If sep is not specified, â â is used.

If width is not specified, sep.length is used. You will have to specify this when sep is a multibyte character, for example.

doc_ruby_on_rails
2015-04-28 10:17:58
Comments
Leave a Comment

Please login to continue.