Women in Technology

Hear us Roar



Article:
  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
"#{@weekday}\t\t#{commandName}"
It should read
"#{@weekday}\t\t#{@commandName}"
Note the @ before commandName, showing it to be an instance variable, according to part 1.
Hope this helps other newbies out there.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

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

    Oops, that was a typo on my part. Thanks for pointing that out for the other readers.