From: Hidetoshi NAGAI Date: 2005-09-15T11:31:32+09:00 Subject: Re: tcl/tk translate From: "gregarican" Subject: Re: tcl/tk translate Date: Wed, 14 Sep 2005 23:21:34 +0900 Message-ID: <1126707672.471776.7640@g47g2000cwa.googlegroups.com> > > 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) Hmmm... I commited TkTimer.start at 2004/10/15. Ruby 1.8.2 must have the method. TkTimer.start is TkTimer.new + TkTimer#start. So, instead of TkTimer.start, you can write: TkTimer.new(20, -1, proc{poly_rotate(poly, 5)}).start -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)