From: "trans. (T. Onoma)" Date: 2004-10-07T19:54:55+09:00 Subject: Re: Musings on module/class definition domains On Thursday 07 October 2004 01:54 am, Martin DeMello wrote: | "trans. (T. Onoma)" wrote: | > extended | > def bar | > puts "Class Method && Instance Method" | > end | | What would the value of 'self' be? Sorry, I should have clarified what his means. The above is basically the same as currently doing: extend self def bar puts "Class Method && Instance Method" end Which is why I called it extended. It is almost, but not quite, the same thing as doing: metaclass def bar puts "Class Method && Instance Method" end instance def bar puts "Class Method && Instance Method" end Does that answer the question, or am I misunderstanding? T.