You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# I have used $stdin, and not ARGV. This is advised here - http://rorwebprogramming.blogspot.co.uk/2014/08/argv-and-getschomp.html - I used this because ARGV.gets.chomp doesnt work. The asnswr to why this works is in here in the comment by rampion - https://www.reddit.com/r/ruby/comments/2b9xvl/stdin_and_argv/