[macruby] #68: [RubyCocoa Layer] Calling methods from a superclasses implementation, instead of the overriden ones.
#68: [RubyCocoa Layer] Calling methods from a superclasses implementation, instead of the overriden ones. -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@gmail.com | Owner: lsansonetti@apple.com Type: enhancement | Status: new Priority: trivial | Milestone: MacRuby 0.3 Component: MacRuby | Keywords: rubycocoa layer -------------------------------------+-------------------------------------- For the RC layer we need to be able to call methods of the superclass. For example: {{{ class A def foo 'A' end end class B < A def foo 'B' end end B.new.foo # => "B" B.new.__super_send__(:foo) # => "A" }}} -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/68> macruby <http://ruby.macosforge.org/>
#68: [RubyCocoa Layer] Calling methods from a superclasses implementation, instead of the overriden ones. -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@gmail.com | Owner: lsansonetti@apple.com Type: enhancement | Status: closed Priority: trivial | Milestone: MacRuby 0.3 Component: MacRuby | Resolution: fixed Keywords: rubycocoa layer | -------------------------------------+-------------------------------------- Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => fixed Comment: Fixed by r306/trunk. The method that was added is __super_objc_send__. osx/rubycocoa.rb was modified to use it. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/68#comment:1> macruby <http://ruby.macosforge.org/>
participants (1)
-
macruby