From: kimura w. <ki...@us...> - 2005-04-16 14:18:03
|
Hi, I fixed this problem in latest CVS. Thanks! Mon, 11 Apr 2005 21:36:53 -0600, Rod Schmidt wrote: >I've cut out the irrelevant code, but here's what happen. addProfile >gets called from another controller which created the pure ruby object >profile by calling Profile.new. When addProfile gets it, it has become >an OCObject. Then when addProfile is called and there is more than one >profile to sort, then profile <=> method is called and I get the >following error: > >`<=>': failed to convert OSX::OCObject into String (TypeError) > >In other words the name attributes of the profile objects is not a pure >ruby string. So, back to my original question. How do I put a pure ruby >object in the @profiles array instead of the OCObject (the objective-C >wrapper around the ruby object)? |