[MacRuby-devel] Elegant initialization

2012-04-18 Thread Josh Voigts
Hey, first post to the list, woot! I've run into a little bit of a snag. Is there an elegant way of building an initializer similar to this one in macruby? (assuming I'm subclassing an NSView object) - (id)initWithFrame:(NSRect)frame controller:(AppController *)ctrlr {     if (self = [super init

[MacRuby-devel] Multiple enumerations

2012-05-01 Thread Josh Voigts
Is there a way to get multiple enumerations to work, like in the following example. I know I could be doing this with cocoa, but it's a small scripting project. (Also I didn't feel like loading a bridge support file, would that help in this case?) framework 'ScriptingBridge' sys = SBApplication.

[MacRuby-devel] What's the process for getting a c-extension to install with macgem?

2013-04-16 Thread Josh Voigts
What's the process for getting a c-extension to compile correctly with macgem? This is related to this github issue: https://github.com/ohler55/ox/issues/55 Below are the results of trying to install an xml parser with macgem. Even when these issues are ignored during compilation, it appears tha