breakable

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

This says âyou can break a line here if necessaryâ, and a width-column text sep is inserted if a line is not broken at the 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:11:14
Comments
Leave a Comment

Please login to continue.