From: Brian Palmer Date: 2004-11-12T10:11:37+09:00 Subject: Re: warning: redefining Object#initialize may cause infinite loop Unless I'm minsreading what you want to do, wouldn't it be def initialise initialize end The way you're doing it now, you're re-defining the "real" initialize method to redirect to the fake one. - B 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. > > > >-- Dark Fiber -- >[FAQ] Write Your Own Operating System > http://www.mega-tokyo.com/osfaq2 >3x3 Eyes Fanfiction Archive > http://www.mega-tokyo.com/pai > > > > > >