[macruby-changes] [4045] MacRuby/trunk/gcd.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 7 16:46:00 PDT 2010
Revision: 4045
http://trac.macosforge.org/projects/ruby/changeset/4045
Author: lsansonetti at apple.com
Date: 2010-05-07 16:45:58 -0700 (Fri, 07 May 2010)
Log Message:
-----------
fixed a typo in the Dispatch::Queue.async rdoc (thanks Jim Murphy)
Modified Paths:
--------------
MacRuby/trunk/gcd.c
Modified: MacRuby/trunk/gcd.c
===================================================================
--- MacRuby/trunk/gcd.c 2010-05-07 23:42:34 UTC (rev 4044)
+++ MacRuby/trunk/gcd.c 2010-05-07 23:45:58 UTC (rev 4045)
@@ -395,8 +395,8 @@
* gcdq = Dispatch::Queue.new('doc')
* gcdg = Dispatch::Group.new
* @i = 42
- * gcdq.async(g) { @i = 42 }
- * g.wait
+ * gcdq.async(gcdg) { @i = 42 }
+ * gcdg.wait
* p @i #=> 42
*
*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100507/0ef4d76e/attachment.html>
More information about the macruby-changes
mailing list