From: Eric C. <ech...@gm...> - 2010-03-22 20:44:54
|
On Sun, Mar 21, 2010 at 4:01 PM, Wolfgang Kittenberger <kit...@ka...> wrote: > Hi Eric, > The answer to your question I found the book "Programming Cocoa with Ruby" > (Brian Marik) on the pages 98ff: > A method super_foo calls the method foo in the first Objective-C ancestor > class. > The pseudomethod super calls the first Ruby ancestor. [...] > myMini-2:rubycocoa-oddities kittekat$ ruby super-and-super.rb > super_description says: <RubyFromRuby: 0x1018f8ba0> > but super says: Some kind of RubyFromObjC > The super_description comes from NSObject#description. > myMini-2:rubycocoa-oddities kittekat$ > Regards > Wolfgang Thanks! |