Skip to content
instance method

PrettyPrint::SingleLine#text

(::String obj, ?::Integer? width) -> void
text(obj, width=nil)

Add obj to the text to be output.

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

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