[macruby-changes] [3095] MacRuby/trunk/gcd.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 10 14:28:54 PST 2009
Revision: 3095
http://trac.macosforge.org/projects/ruby/changeset/3095
Author: ernest.prabhakar at gmail.com
Date: 2009-12-10 14:28:52 -0800 (Thu, 10 Dec 2009)
Log Message:
-----------
Per #475, aliased 'label' to 'to_s'
Modified Paths:
--------------
MacRuby/trunk/gcd.c
Modified: MacRuby/trunk/gcd.c
===================================================================
--- MacRuby/trunk/gcd.c 2009-12-10 21:31:01 UTC (rev 3094)
+++ MacRuby/trunk/gcd.c 2009-12-10 22:28:52 UTC (rev 3095)
@@ -921,6 +921,7 @@
rb_objc_define_method(cQueue, "sync", rb_queue_dispatch_sync, 0);
rb_objc_define_method(cQueue, "after", rb_queue_dispatch_after, 1);
rb_objc_define_method(cQueue, "label", rb_queue_label, 0);
+ rb_objc_define_method(cQueue, "to_s", rb_queue_label, 0);
rb_objc_define_method(cQueue, "resume!", rb_dispatch_resume, 0);
rb_objc_define_method(cQueue, "suspend!", rb_dispatch_suspend, 0);
rb_objc_define_method(cQueue, "suspended?", rb_dispatch_suspended_p, 0);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091210/53e6bc9c/attachment.html>
More information about the macruby-changes
mailing list