#531: make #[] an alias for #objectForKey -------------------------------------+-------------------------------------- Reporter: mattaimone...@… | Owner: martinlagarde...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------------+--------------------------------------
Comment(by lsansone...@…): Thibault, this is a good and not-difficult bug to let you hack on the dispatcher :) The idea is to shortcut #[] and #[]= to these methods in case they do not exist yet. This should be added in the same place we shortcut #foo= and #foo? for the respective setFoo: and isFoo: methods. -- Ticket URL: <http://www.macruby.org/trac/ticket/531#comment:4> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel