[MacRuby-devel] C-level blocks (issue #712)?

Matt Aimonetti mattaimonetti at gmail.com
Tue Jan 11 10:15:17 PST 2011


Joel, sorry I meant to say that to Rolando, I believe it might be the reason
why it doesn't work for him.

- Matt

On Tue, Jan 11, 2011 at 10:08 AM, Joel Reymont <joelr1 at gmail.com> wrote:

> Matt,
>
> I -am- using the latest BridgeSupport (Preview 2) if you are talking to me.
>
> On Jan 11, 2011, at 6:06 PM, Matt Aimonetti wrote:
>
> > Can you make sure you are using the latest BridgeSupport?
> >
> > - Matt
> >
> > Sent from my iPhone
> >
> > On Jan 11, 2011, at 10:01, Joel Reymont <joelr1 at gmail.com> wrote:
> >
> >>
> >> On Jan 11, 2011, at 5:40 PM, Rolando Abarca wrote:
> >>
> >>> I'm using MacRuby 0.8
> >>
> >> Works for me!
> >>
> >> macruby -version
> >> MacRuby 0.9 (ruby 1.9.2) [universal-darwin10.0, x86_64]
> >>
> >> macirb
> >> irb(main):001:0> framework 'Foundation'
> >> => true
> >> irb(main):002:0> a = [1,2,3,4,5]
> >> => [1, 2, 3, 4, 5]
> >> irb(main):003:0> a.enumerateObjectsUsingBlock(Proc.new { |obj, index,
> stop|
> >> irb(main):004:1>   p obj
> >> irb(main):005:1>   stop.assign(true) if index == 2
> >> irb(main):006:1>   })
> >> 1
> >> 2
> >> 3
> >> => [1, 2, 3, 4, 5]
>
> ---
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
>
>
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110111/23ac84cb/attachment.html>


More information about the MacRuby-devel mailing list