From: Hidetoshi NAGAI Date: 2006-02-20T18:55:16+09:00 Subject: Re: Some error for Tk. From: David Vallner Subject: Re: Some error for Tk. Date: Mon, 20 Feb 2006 01:21:20 +0900 Message-ID: <200602191721.01248.david@vallner.net> > IIRC, the #command method takes a Proc object as an argument, not a block. The > above line should most probably be: > command(proc { Play(path.value, -1) }) A block is available for #command method on current Ruby/Tk. So, command { Play(path.value, -1) } is acceptable. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)