From: Mark Date: 2001-09-11T21:20:03+09:00 Subject: [ruby-talk:21087] nested method definition!!! I keep getting a "nested method definition" error. Although I have failed to find the documentation for this specific error, I presume it's when you do the following: def foo(val1) def bar(val2) end end The strange this is, I'm not doing anything like this. Maybe something in Ruby is broken. I have looked over my code so many times (and it's only 190 lines), and I can't see a problem. I'm using 1.6.4 on Linux, everything else works fine. Please let me know exactly what might cause a "nested method definition error". Then I'll check my code. If I'm more sure that what I'm doing is right, I'll go ahead and post the code here and perhaps fill out a bug report. -thanks mark