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
CloudDiff - Compare versions of your Dropbox or pCloud text files in-browser or using your configured diff tool. Updates 2021-06-28 up...
thanks, this was helpful
ReplyDelete