#475: GCD Queues should print their label as their "to_s" method ----------------------------------------+----------------------------------- Reporter: ernest.prabha...@… | Owner: lsansone...@… Type: enhancement | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Right no, GCD Queues have a generic (i.e., mostly useless) "to_s" method. Why not just make the GCD "label" method act as to_s:
http://github.com/masterkain/macruby/blob/master/gcd.c rb_objc_define_method(cQueue, "to_s", rb_queue_label, 0); That avoids additional API, and lets it generally "do the right thing" -- Ticket URL: <http://www.macruby.org/trac/ticket/475> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel