[MacRuby] #647: Create alias when a pure objc #setFoo method is overriden
#647: Create alias when a pure objc #setFoo method is overriden -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- When the user, in Ruby, overrides a #setFoo method of a pure objc superclass, MacRuby should create an alias from #foo= to the new #setFoo method. This is because the MacRuby helper which delegates #foo= to #setFoo only does that for pure objc #setFoo method implementations. {{{ class YourView < NSView def setFrame(frame) super # custom stuff end # MacRuby should create this alias when #setFrame was defined above. alias_method :frame=, :setFrame end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/647> MacRuby <http://macruby.org/>
#647: Create alias when a pure objc #setFoo method is overriden -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: fixed Keywords: | -------------------------------------+-------------------------------------- Changes (by eloy.de.enige@…): * status: new => closed * resolution: => fixed Comment: Fixed in #3919. -- Ticket URL: <http://www.macruby.org/trac/ticket/647#comment:1> MacRuby <http://macruby.org/>
#647: Create alias when a pure objc #setFoo method is overriden -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------------+-------------------------------------- Changes (by eloy.de.enige@…): * milestone: => MacRuby 0.6 -- Ticket URL: <http://www.macruby.org/trac/ticket/647#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby