#477: Need GCD wrapper for dispatch_once
----------------------------------------+-----------------------------------
Reporter: ernest.prabha...@… | Owner: lsansone...@…
Type: enhancement | Status: new
Priority: minor | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
----------------------------------------+-----------------------------------
Comment(by lsansone...@…):
{{{
@io ||= File.open('hey')
}}}
would become
{{{
Dispatch.once { @io = File.open('hey') }
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/477#comment:5>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel