Read a File into a String
Slurp an entire file into a string with File.read, the idiomatic Ruby way.
Author:
chris
// Language: Ruby
contents = File.read('data.txt')
puts contents