Friday, October 10, 2014 Ruby-How to read a file 10/10/2014 11:40:00 AM | Posted by Unknown | | Edit Post I am going to discuss about how to read a file in Ruby Initially we need a text file, lets' start fname = ARGV.first #assigns file name dynamically text= open(fname) print text.read #reads the file...