From: "Florian Groß" Date: 2005-10-27T06:20:50+09:00 Subject: Re: nested def's Daniel Sch�le wrote: > I remember reading (but dont ask me the article) > that nested functions are not allowed in ruby > is this something that has been changed or was this always > possible? When you are using def in another def you aren't defining a nested method. You are defining a new regular method on the current object when the def statement nested into the outer method is run. This is usually useless. If you want to reuse bits of code inside a single method I'd suggest using lambda { }.