From: Ariff Abdullah Date: 2002-09-28T08:31:59+09:00 Subject: Re: method called on terminated object On Saturday 28 September 2002 03:25, William Djaja Tjokroaminata wrote: > Wait, wait, what do you want to accomplish there? Although you > don't get a syntax error, I think probably you have a semantic > error. I was toying around with rbbr.rb (Ruby class browser from ruby-gtk) and accidentally caught there. Remember, that we can add method on the fly at any time during runtime on any class/module, right? class Module class << self def abcdefg print "blabla\n" jklmn() end def jklmn print "12345\n" end private :jklmn end end semantic error? I dont think so.. (or please, enlighten me) -- Ariff Abdullah MyBSD Malaysia. ariff@MyBSD.org.my skywizard@time.net.my http://staff.mybsd.org.my/skywizard http://www.mybsd.org.my