method

readable?

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

Returns true if the named file is readable by the effective user and group id of this process. See eaccess(3).