From: Shekar Ls Date: 2009-08-10T21:46:28+09:00 Subject: Reading contents of a file and storing Guys, I want to read the file content and store them in different variables. My file looks something like this: url = "http://localhost" emailid = "User@htmdec.com" password= "12345678" browser="iexplore" I have to read individual lines but store only values within the quotes (values after =) I heard in java there is some get property which picks values after '=' and so on. Let me know if there is any ruby equivalent to this or any other method to get this done. eg: variables id = User@htmdec.com & so on.. cheers -- Posted via http://www.ruby-forum.com/.