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.
Funny that somewhere i read that ruby follows Least Surprise Paradigm,
but personally me i was deeply surprised several times, while learning
it
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)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.