On Fri, 2012-04-13 at 22:58 +0900, mame (Yusnuke Endoh) wrote:
> In the same manner, a "nested" method definition you said:
> 
>   def define_foo
>     def foo
>     end
>   end
> 
> should define a method named "define_foo" that defines a method
> named "foo."  I think it is consistent.

I agree.  The behavior is consistent.  But I'm yet to find a case where
this is useful.

Paul