method

wait_writable

v2_2_9 - Show latest stable - Class: Object
wait_writable()
public

Wait until the file becomes writable.

ruby -run -e wait_writable -- [OPTION] FILE

-n RETRY    count to retry
-w SEC      each wait time in seconds
-v          verbose