9 Dec
2009
9 Dec
'09
4:54 a.m.
#477: Need GCD wrapper for dispatch_once ----------------------------------------+----------------------------------- Reporter: ernest.prabhakar@… | Owner: lsansonetti@… Type: enhancement | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Comment(by lsansonetti@…): {{{ @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/>