From: TRANS Date: 2005-09-16T06:26:06+09:00 Subject: Re: Difference between class declarations On 9/15/05, Peter Vanbroekhoven wrote: > The first one defines a class A and within it A::B while the last two > pieces define A and B, both at the toplevel. In my opinion, it makes more > sense for all three to behave the same. I have to concur that the current behavior isn't optimal. It means the the two are not equivalent, which can cause issues. I recently attempted to create a convenience wrapper for Test::Unit::TestCase, ie. testcase :Name do ... end But this distinction made it impratical, and I could not figure a reasonable way to close in the scope. T.