method

text

ruby latest stable - Class: PrettyPrint
text(obj, width=obj.length)
public

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

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