From: Yukihiro Matsumoto Date: 2004-12-03T00:08:07+09:00 Subject: Re: nested defs, what if... Hi, In message "Re: nested defs, what if..." on Thu, 2 Dec 2004 23:44:08 +0900, Hugh Sasse Staff Elec Eng writes: |So, my half-baked idea: let the above code be a shorthand for | |class Thingy | def somefunc | class << self | def newfunc | ... | end | end | end |end I had the same half-baked idea before, but has not been sure how much it is useful. If you come up a new insight, it might be happened. matz.