Daniel Harple
2/23/2006 7:28:00 PM
On Feb 23, 2006, at 7:29 PM, James Byrne wrote:
> Are these '.'s pushed onto some sort of string variable in TestUnit
> wherein 'puts' is redefined so that the string is prefaced to any
> argument passed to puts and then cleared?
I don't quite know what you are asking, but --
If you do not want buffered output, set $stdout.sync = true (or
$stderr). If $stdout.sync is false (and it is by default), the line
will not be flushed until a newline. You could also just call IO#flush.
-- Daniel