Delegate.rb:110: warning: method redefined; discarding old __getobj__


(Simon Strandgaard) #1

I am beginning to make use of ‘delegate’ to ease my unittesting,
however I keep getting this warning.

my testcode is here:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/regexp_engine/test/Attic/test_scanner_helpers.rb?rev=1.1.2.14&cvsroot=aeditor&only_with_tag=yet_another_redesign&content-type=text/vnd.viewcvs-markup

Am I using ‘delegate’ wrong?
Or is the problem a ‘delegate’ thing?

ruby 1.8.1 (2003-12-22) [i386-freebsd5.1]

···


Simon Strandgaard