Mega Code Archive
Categories
/
Ruby
/
File Directory
Writable_real Returns true if it is writable by the real user ID
File.stat("testfile").writable_real?