Skip to content
instance method

PrettyPrint#text

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

This adds obj as a text of width columns in width.

If width is not specified, obj.length is used.

See also #nest #group_sub also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0