method

writable_real?

ruby latest stable - Class: FileTest
writable_real?(p1)
public

Returns true if the named file is writable by the real user and group id of this process. See access(3)