File.sticky?(file_name) â true or false Instance Public methods Returns true if the named file has the sticky bit set.
File.socket?(file_name) â true or false Instance Public methods Returns true if the named file is a socket. file_name can be an IO object.
File.size?(file_name) â Integer or nil Instance Public methods Returns nil if file_name doesn't exist or has zero size, the size of the file otherwise. file_name can be an IO object.
File.size(file_name) â integer Instance Public methods Returns the size of file_name. file_name can be an IO object.
File.setuid?(file_name) â true or false Instance Public methods Returns true if the named file has the setuid bit set.
File.setgid?(file_name) â true or false Instance Public methods Returns true if the named file has the setgid bit set.
File.readable_real?(file_name) â true or false Instance Public methods Returns true if the named file is readable by the real user id of this process.
File.readable?(file_name) â true or false Instance Public methods Returns true if the named file is readable by the effective user id of this process.
File.pipe?(file_name) â true or false Instance Public methods Returns true if the named file is a pipe. file_name can be an IO object.
File.owned?(file_name) â true or false Instance Public methods Returns true if the named file exists and the effective used id of the calling process is the owner of the file. file_name can be an IO object.
Page 2085 of 2275