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!",
nil];
}
@end
________________________________________________
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 component to "ControlTower"? Thanks!
Cheers,
Josh
> _______________________________________________
On Oct 6, 2010, at 11:36 AM, Louis-Philippe wrote:
> 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 on it it is same, same same as the macruby one... but control tower doesn't display my return string???
>
> any idea?
>
> L-P
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel