Forget about static and all that, and remember that modules are objects too. Test::Unit is just a constant, that references the Module instance for that module.
I feel the same way, but I realise now that I feel that way because I expect Ruby to be as convoluted and... well, surprising, as other languages. It surprises me by how unsurprising it is (*most of the time*)
···
On Thu, 05 Jan 2006 14:15:33 -0000, forest <forest.aa@gmail.com> wrote:
Thanks a lot, it explains everything.
Funny that somewhere i read that ruby follows Least Surprise Paradigm,
but personally me i was deeply surprised several times, while learning
it