ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Ruby/Tk Primer, Part 3
Subject:   Problems with complete script
Date:   2004-08-01 04:02:11
From:   m_keightley
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.

1 to 1 of 1
  1. Problems with complete script
    2004-08-01 10:27:50  Christopher Roach | O'Reilly Blogger [View]

1 to 1 of 1