Ticket #68 (closed enhancement: fixed)
[RubyCocoa Layer] Calling methods from a superclasses implementation, instead of the overriden ones.
| Reported by: | eloy.de.enige@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | trivial | Milestone: | MacRuby 0.3 |
| Component: | MacRuby | Keywords: | rubycocoa layer |
| Cc: |
Description
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"
Change History
Note: See
TracTickets for help on using
tickets.

