On Thu, Apr 23, 2009 at 2:04 PM, François Vaux <[email protected]> wrote: > On Thu, Apr 23, 2009 at 7:43 PM, Seth Thomas Rasmussen > <[email protected]> wrote: >> On Thu, Apr 23, 2009 at 1:36 PM, Martin DeMello <[email protected]> >> wrote: >>>>> Which version of shoes are you using? This worked nicely for me - they >>>>> aren't really instance methods, they're toplevel methods that access >>>>> the shoes bit via the global $canvas object (my philosophy of shoes is >>>>> that if you're writing something small and quick, globals are your >>>>> friend) >>>> >>>> shoes policeman (0.r1229) [i686-darwin8.9.1] >>>> >>>> The initial problem I had was that reset_grid was not defined on the >>>> Shoes::App object. I just moved everything in the app block and that >>>> worked. >>> >>> That's odd - I'm using shoes policeman (0.r1229) [i686-linux] and it >>> worked perfectly. Also, it really should work - reset_grid is defined >>> at top level, so it should be a valid "global method". > > I had the same issue, I guess Seth is using a version compiled against > ruby 1.8.7 while you Martin have a 1.9 one. I tried both, and it > passed very well with 1.9.
Ah, interesting. I am indeed compiled against 1.8.whatever from the pre-built OS X deps. -- Seth Thomas Rasmussen http://greatseth.com
