arghx1
MIS
- Mar 8, 2009
- 1
Hello,
I'm a total noob, newbie, or whatever you called a stranger to Ruby!
Just read into Ruby like 4 days ago.
For practicing, I started to write my first script. It's nothing special, just a simple script. I found out that there is a lot of problem with it. It may be syntax problems, or logic problems! Can you read the script that I coded, and help point me in the right direction?
First, my script is at
Second, a first problem I have encountered is that the method ask_file is acting weird. When run the script, I'm stuck at this part where the ask_file method asked for user input, but it does not end, and it does not break out of user input so the next instruction can process.
Please help me point out other problems if you find in my script.
Thanks in advance...
I'm a total noob, newbie, or whatever you called a stranger to Ruby!
Just read into Ruby like 4 days ago.
For practicing, I started to write my first script. It's nothing special, just a simple script. I found out that there is a lot of problem with it. It may be syntax problems, or logic problems! Can you read the script that I coded, and help point me in the right direction?
First, my script is at
Second, a first problem I have encountered is that the method ask_file is acting weird. When run the script, I'm stuck at this part where the ask_file method asked for user input, but it does not end, and it does not break out of user input so the next instruction can process.
Please help me point out other problems if you find in my script.
Thanks in advance...