From: Paet Worlds II Date: 2012-01-25T10:41:10+09:00 Subject: Re: A little assistance please :) Hilco Wijbenga wrote in post #1042399: > On 24 January 2012 17:14, Paet Worlds II wrote: >> So I'm still quite new to Ruby and so far I love it's simplicity, but I >> just can't figure out why I'm getting this error?... I know its probably >> something I did thats very simple because at the moment, I just woke up >> so I'm still kind of "waking up"... > > Then perhaps you should have waited for your morning coffee to kick in? > :-) I couldn't possibly hault my progress for coffee... >> So here is my current code: >> http://pastebin.com/1zkTPWpQ >> >> And here is my error: >> >> H:/RoboSteve/lib/RoboEngine.rb:17: syntax error, unexpected '\n', >> expecting tCOLON2 or '[' or '.' >> H:/RoboSteve/lib/RoboEngine.rb:28: syntax error, unexpected keyword_end, >> expecting $end > > The problem is the "self." in the class names. What exactly is wrong with the self. ?o,o >> Could anyone help me with this? Or tell me something I could to better >> with my code? >> (if you do so please explain why it's better than what I've already got. >> Please hold the rude comments to yourself.) > > This last line actually made me wonder whether I should even bother > replying. You just assume we are going to be sending you "rude > comments"? Not very nice. Please don't take that personally... I haven't gotten used to the use of these forums just yet. I'm too used getting "trolled" for being new to things >.< Sorry. -- Posted via http://www.ruby-forum.com/.