From: aref aslani Date: 2013-02-03T07:24:07+09:00 Subject: Re: Open file that its name given by STDIN.gets > Please include short code snippets directly in the E-Mail > instead of using attachments! > > The string returned from gets is always terminated by a newline > character that you need to remove: Thank you:) My problem has been solved! -- Posted via http://www.ruby-forum.com/.