I take a string variable from a user like this:
mail = gets
and I want to use this variable to open a file.
file = File.new(mail, "r") ##obviously this isn't working
How do I actually use this mail variable to open a file of that name?
Thanks