From: Sam Duncan Date: 2012-12-20T04:32:48+09:00 Subject: Re: NoMethodError raised for using 'raise' in code. On 12/20/2012 08:07 AM, Meghana Kop wrote: > Hi Arlen, > > I've attached the code I'm using. The error doesn't come up when I use > Kernel::raise instead of just raise... > I haven't defined any function called raise anywhere else so I'm not > sure why the error keeps coming up... > > Thank you for your time! :) > > Arlen Cuss wrote in post #1089532: >> Hi Meghana, >> >> I definitely can't reproduce this. Is there any more relevant code you >> can >> produce, or even a self-contained example that shows this bug? I can >> only >> imagine this happening if you defined something called raise somewhere, >> and >> even then, it's hard to work out how it would eventuate ... >> >> Cheers, >> >> Arlen > Attachments: > http://www.ruby-forum.com/attachment/7983/EntryForm.rb > http://www.ruby-forum.com/attachment/7984/StudentEntryForm.rb > http://www.ruby-forum.com/attachment/7985/tester.rb > > Is Qt::Widget perhaps implementing raise? http://doc.qt.digia.com/4.7-snapshot/qwidget.html#raise Sam