Skip to content
instance method

PrettyPrint::SingleLine#breakable

(?::String sep, ?::Integer? width) -> void
breakable(sep=' ', width=nil)

Appends sep to the text to be output. By default sep is ‘ ’

width argument is here for compatibility. It is a noop argument.

See also .new #first? #group also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0