Re:What I didn't know about Ruby Classes
by marcandre on Sunday November 22, 2020 @12:51AM
(#25175256)
In Ruby they are called "singleton classes", but the actual technical term is metaclass: https://en.wikipedia.org/wiki/Metaclass (check the Ruby entry)
[ Parent
| on HN ]
Re:What I didn't know about Ruby Classes
by masklinn on Sunday November 22, 2020 @03:16AM
(#25175876)
> the actual technical term is metaclass
Hard disagree. metaclass normally is the class of a class (aka `Class` in ruby), and is used to work manipulate classes.
In Ruby, a metaclass is instead an implicit per-object class.