sysread « File Directory « Ruby






1.use the method sysread to read the contents of a file.