[MacRuby-devel] [MacRuby] #531: make #[] an alias for #objectForKey
MacRuby
ruby-noreply at macosforge.org
Wed Dec 30 21:37:08 PST 2009
#531: make #[] an alias for #objectForKey
-------------------------------------+--------------------------------------
Reporter: mattaimonetti@… | Owner: martinlagardette@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by lsansonetti@…):
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/>
More information about the MacRuby-devel
mailing list