readable_real? Returns true if statfile is readable by the real user ID of this process. : readable_real « File Directory « Ruby






readable_real? Returns true if statfile is readable by the real user ID of this process.


File.stat("testfile").readable_real?  
File.stat("/etc/passwd").readable_real?

 

Related examples in the same category