Ruby/File Directory/readable real
Материал из Wiki.crossplatform.ru
(Различия между версиями)
ViGOur (Обсуждение | вклад) м (1 версия) |
Текущая версия на 17:57, 13 сентября 2010
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?