From: Bill Atkins Date: 2004-10-29T21:09:54+09:00 Subject: Re: toplevel is all levels ? Why should it? If t is a private method of Object, and R is an object, then there's no reason for it not to work. Bill On Fri, 29 Oct 2004 14:27:17 +0900, trans. (T. Onoma) wrote: > On Thursday 28 October 2004 11:19 pm, Yukihiro Matsumoto wrote: > | Hi, > > > | > | In message "Re: toplevel is all levels ?" > | > | on Fri, 29 Oct 2004 12:14:48 +0900, "trans. (T. Onoma)" > writes: > | |How is #t getting inside r ? Does Toplevel == Object ? Guess I was > | | thinking that Toplevel was its own space --a subclass of Object. > | > | def statement at the top level defines private method in Object > | class. > > I see. Thank you. Interestingly irb doesn't throw the error. > > T. > >