#575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController -----------------------------+---------------------------------------------- Reporter: n...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: invalid Keywords: | -----------------------------+----------------------------------------------
Comment(by eloy.de.en...@…): @ninh Ah, I should have told you that :) I wonder, wouldn't it be feasible to make all Ruby objects do a dup/clone kind of operation by default? Something like: {{{ def copyWithZone(zone) copy = self.class.allocWithZone(zone).init instance_variables.each { |ivar| copy.instance_variable_set ivar, instance_variable_get(ivar) } copy end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/575#comment:2> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel