From: Charles Comstock Date: 2004-03-03T15:44:46+09:00 Subject: Why do inner methods count in outer scope? def foo(x) def bar(n) n + 1 end bar(x) end foo(5) # -> 6 bar(5) # -> 6 Why is bar escaping the scope of foo? Is this a bug, or an unintended feature? Charlie