method

readable?

v1_8_7_72 - Show latest stable - Class: File::Stat
readable?()
public

Returns true if stat is readable by the effective user id of this process.

   File.stat("testfile").readable?   #=> true