samjh
March 26th, 2010, 03:33 PM
I'm pretty new to Ruby, and have encountered a problem with one of the code examples for Shoes. The problem is with the Clock example here: http://shoes.heroku.com/
The error is in the third line:
every 1 do
The Shoes interpreter says "undefined method 'every'".
Google searches aren't helping, because "every" is such a common word, although I've come across other code examples on the web that use the "every" keyword. Could someone enlighten me, please?
The error is in the third line:
every 1 do
The Shoes interpreter says "undefined method 'every'".
Google searches aren't helping, because "every" is such a common word, although I've come across other code examples on the web that use the "every" keyword. Could someone enlighten me, please?