instance method
PrettyPrint::SingleLine#breakable
(?::String sep, ?::Integer? width) -> void
breakable(sep=' ', width=nil)
lib/prettyprint.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prettyprint.rb, line 521
def breakable(sep=' ', width=nil)
@output << sep
end
Appends sep to the text to be output. By default sep is ‘ ’
width argument is here for compatibility. It is a noop argument.