Shubham Shubham - 1 year ago 80
Ruby Question

How to read whole file in Ruby?

Is there any inbuilt function in Ruby to read the whole file without using any loop? So far, I have only come across methods that read line by line or character by character.

Answer Source"filename")

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download