Flowdock
method

putc

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: ARGF
putc(p1) public

If obj is Numeric, write the character whose code is the least-significant byte of obj. If obj is String, write the first character of obj to ios. Otherwise, raise TypeError.

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

produces:

AA
Show source
Register or log in to add new notes.