Hidetoshi NAGAI wrote:

> TkTimer.start(20, -1, proc{poly_rotate(poly, 5)})


When I pasted your sample code into a text file and ran it on my
One-Click Windows install of Ruby 1.8.2 I received the following error
message:

undefined method `start' for TkTimer:Class (NoMethodError)

Then when I tried creating a new instance of a TkTimer class object and
use the start method like this:

timer=TkTimer.new
timer.start(20, -1, proc{poly_rotate(poly, 5)})

I received an error stating Argument '-1' need to be Proc
(ArgumentError).

Just curious if this might be due to the version of Tk that's bundled
with my Ruby distro...