title: How to read whole file in Ruby?
body: <p>Is there an in-built function in Ruby to read the whole file without using any loop? So far, I have only come across methods that read in chunks (line or character).</p>