From: nobu.nokada@... Date: 2004-03-05T10:52:15+09:00 Subject: Re: Ruby 1.8.1 and forwardable warnings Hi, At Fri, 5 Mar 2004 10:14:41 +0900, Daniel Berger wrote in [ruby-talk:94282]: > It appears that the forwardable module raises a couple of warnings > that concern me that did not appear in 1.6.8: > > (__FORWARDABLE__):1: warning: redefining `__send__' may cause serious > problem > (__FORWARDABLE__):1: warning: redefining `__id__' may cause serious > problem > > Do I need to be worried? Does forwardable need a patch? Or is there > another module I should be using instead? I know I don't want to have > to see these warnings every time I use this module. Please advise. I guess those methods should be skipped, perhaps in def_delegators, and also, kind_of?(Integer) hacks are no longer needed anymore. -- Nobu Nakada