From: Christian Neukirchen Date: 2006-08-27T11:45:08+09:00 Subject: Re: No sleep till cocoa! (works) "Paul Battley" writes: > On 26/08/06, Christian Neukirchen wrote: >> "Paul Battley" writes: >> >> > RubyCocoa works by responding to method_missing and despatching ObjC >> > messages via ocm_send; once ActiveSupport has had its evil (don't get >> > me started!) way, this will never happen. >> >> RubyCocoa probably should use (a kind of?) BlankSlate, then? > > I don't think that would help: > > class BlankSlate > instance_methods.each { |m| undef_method m unless m =~ /^__/ } > end > > b = BlankSlate.new > b.load rescue p $! > > #> > > require 'active_support' > b = BlankSlate.new > b.load rescue p $! > > # You need to load blank slate after active_support... > Paul. -- Christian Neukirchen http://chneukirchen.org