From: Yukihiro Matsumoto Date: 2008-01-08T21:44:35+09:00 Subject: Re: Defining a function inside a function. Whats this feature ? How to use inside a class ? Hi, In message "Re: Defining a function inside a function. Whats this feature ? How to use inside a class ?" on Tue, 8 Jan 2008 21:15:40 +0900, Sur writes: |I am not sure if I have seen it being used earlier or probably I don't know |how to use it. | |when I define function(s) inside a function within the main object, it |works... Don't use def inside of def, in general. The behavior might be changed in the future (2.0 or later). matz.