From: Hilco Wijbenga Date: 2012-01-25T10:34:19+09:00 Subject: Re: A little assistance please :) 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? :-) > 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. > 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.