Re: [MacRuby-devel] control tower with objective-c class

2010-10-06 Thread Louis-Philippe
Great! Ticket Added! L-P 2010/10/6 Laurent Sansonetti > Hi Louis-Philippe, > > Could you paste all this into a new ticket? This way we won't forget to fix > it. > > Thanks! > Laurent > > On Oct 6, 2010, at 1:12 PM, Louis-Philippe wrote: > > my Objective-C class: > >

Re: [MacRuby-devel] control tower with objective-c class

2010-10-06 Thread Laurent Sansonetti
Hi Louis-Philippe, Could you paste all this into a new ticket? This way we won't forget to fix it. Thanks! Laurent On Oct 6, 2010, at 1:12 PM, Louis-Philippe wrote: > my Objective-C class: > > __ > @implementation ObjcRackApp > > - (NSArray*)call:(NSDic

Re: [MacRuby-devel] control tower with objective-c class

2010-10-06 Thread Louis-Philippe
my Objective-C class: __ @implementation ObjcRackApp - (NSArray*)call:(NSDictionary *)env { return [NSArray arrayWithObjects: [NSNumber numberWithInteger:200], [NSDictionary dictionaryWithObject:@"text/plain" forKey:@"Content-Type"], @"Hello Objc!", n

Re: [MacRuby-devel] control tower with objective-c class

2010-10-06 Thread Joshua Ballanco
Hi L-P, That sounds like a neat idea! I can think of a few ways that it might go wrong, but they're only guesses. Do you have some small sample code that demonstrates the problem? If so, can you open a ticket on track (https://www.macruby.org/auth/login/?next=/trac/newticket) and set the compo

[MacRuby-devel] control tower with objective-c class

2010-10-06 Thread Louis-Philippe
Hi all, I'm experimenting with Control Tower and tought I would try to get it running with an Objective-C class, inside an imported framework, implementing the Rack protocol. My class imports right in macruby, has a proper call(env) method which returns an array of 3 elements, when I call inspect