Marnen Laibow-Koser wrote:
That's the Singleton pattern. I think the OP wanted to know how to get
a model's singleton class (eigenclass).
Unfortunate coincidence of terminology for two completely different things.
Agreed. On a hunch, I looked up Black's precise terminology in The
Well-Grounded Rubyist and he defines his method like so:
I believe some level of confusion may have been avoided had I written as
he did. Anywho.
So, Marnen, any idea why AR-inheriting objects do this?