method
text
Ruby latest stable (v2_5_5)
-
0 notes -
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.