Mega Code Archive
Categories
/
Ruby
/
File Directory
Read and return the entire file
data = IO.read("data") # Read and return the entire file