From: Mark Date: 2001-09-11T21:28:46+09:00 Subject: [ruby-talk:21115] Re: nested method definition!!! > > > Every time I have seen this it's because I have messed up the grouping > in some non-obvious way so that definitions are indeed nested even > though I intended nothing of the kind. This can be really hard to > spot just by looking at the code (in my experience anyway). I'd > recommend the old divide and conquer approach: strip the code down to > a minimal fragment that generates the error. At some point the typo > just leaps out at you (again in my experience). > > Can't say anything more useful without a code fragment to examine, I'm > afraid. I just added an example. Take a peek. Thanks for your reply.