Re: [MacRuby-devel] Drawing in Custom Views

2009-10-25 Thread Michael Shapiro
Hey John, You shouldn't need to put everything in drawRect:. In your original, you're stomping @path in your drawRect. :) --Mike On Oct 25, 2009, at 4:21 PM, John-Paul Bader wrote: Ah never mind. If I put the path drawing code directly into the drawRect method it all works fine. The whol

Re: [MacRuby-devel] Gem Bundler is the Future

2009-10-17 Thread Michael Shapiro
If the AOT compiler's being used, I wonder if there's the possibility of statically compiling gems into the executable itself? --Mike On Oct 16, 2009, at 5:01 PM, Ernest N. Prabhakar, Ph.D. wrote: I wonder if this will help MacRuby applications: http://litanyagainstfear.com/blog/2009/10/14/

[MacRuby-devel] Super not passing init: through to NSObject correctly?

2009-10-05 Thread Michael Shapiro
Hi all, I searched a few months of the list archives and trac, but wasn't able to find reference to this. Calling `super` inside of an overridden #init function where no ruby ancestors define #init causes a segmentation fault. If I'm not mistaken, shouldn't the init: message be passed to N