From: Charles Steinman Date: 2005-04-17T03:49:34+09:00 Subject: Re: RubyCocoa parameter conversion ? the.rubist wrote: > i try to set the right parameter for the following Cocoa-Method with > RubyCocoa: > > OSX::NSOpenGLPixelFormat.alloc.init.initWithAttributes > > i don't know how i must initialize the "attribs" - parameter with > RubyCocoa. The docs for the Objective-C version say it's a list of integers and booleans. It looks like you'll need to define the appropriate constants yourself (Apple's documentation has a list of them), but once you do that, it should work pretty much as documented (assuming RubyCocoa properly supports varargs). By the way, you're not actually writing init.initWithAttributes, are you?