Stu wrote:
> Is there anyway I can supress this warning?
> 
> I tried setting $VERBOSE = FALSE before then
> back to TRUE after my bit of code but nothing...
> 
> I seem to unconciously miscode initialize to initialise.
> every. single. time. 
> 
> so I did
> 
> class Object
>     def initialize
> 	initialise
>     end
> end
> 
> while it works, it throws the hissy error
> warning: redefining Object#initialize may cause infinite loop
> 
> I just want to supress the error in my code.

Hmm, how about an alias instead?

I suppose this would work:

   class Object
     alias initialise initialize
   end

Haven't tried it, though...


Hal