In Ruby, to flush currently buffered data just once, call
flush
on the handle in question:STDOUT.flush
To "autoflush", or continuously flush output immediately, set the sync
attribute:STDOUT.sync = true
References: flush, sync
Work. Play. Think. Love. Life.
flush
on the handle in question:STDOUT.flush
To "autoflush", or continuously flush output immediately, set the sync
attribute:STDOUT.sync = true
References: flush, sync
I made a thing! It's a Chrome extension that adds numbering to Imgur images. Unless there's only one image, of course. That wou...
1 comment:
thanks, this was helpful
Post a Comment