On Oct 23, 8:35   򮮮
> Like a lot of people I'm new to Ruby and I'm trying to do something I
> thought would be pretty simple. I want the user to give me input in the
> form of a filename and then subsequently open the file. Here is what I
> have so far:
>
> class FileHandler
>
> def initialize()
> @fileToParse = fileToParse #I get user input in the form of gets in

Usually after gets you want to use strip to remove all leading
and trailing whitespace:

file_name = gets.strip