method

putc

v1_9_1_378 - Show latest stable - Class: IO
putc(p1)
public

If obj is Numeric, write the character whose code is obj, otherwise write the first character of the string representation of obj to ios.

$stdout.putc "A"
$stdout.putc 65

produces:

AA