||Ruby/Tk Primer, Part 3|
|Subject:||Problems with complete script|
Response to: Problems with complete script
Okay, donkey of the day award goes to me. I've now spotted what the problem was. The problem is on this line is to_s
It should read
Note the @ before commandName, showing it to be an instance variable, according to part 1.
Hope this helps other newbies out there.