rename meta to singleton class

seems more appropriate, as it is the class for a single object
Also seems to be called that on the net (don't remember where the meta came from, but it's gone)
This commit is contained in:
2019-09-23 20:57:33 +03:00
parent 66728f09f4
commit a446d3da6b
12 changed files with 33 additions and 33 deletions

View File

@ -1,12 +1,12 @@
module Parfait
# Behaviour is the old smalltalk name for the duperclass of class and meta_class
# Behaviour is the old smalltalk name for the duperclass of class and singleton_class
#
# Classes and meta_classes are in fact very similar, in that they manage
# Classes and singleton_classes are in fact very similar, in that they manage
# - the type of instances
# - the methods for instances
#
# The main way they differ is that Classes manage type for a class of objects (ie many)
# whereas meta_class, or singleton_class manages the type of only one object (here a class)
# whereas singleton_class, or singleton_class manages the type of only one object (here a class)
#
# Singleton classes can manage the type/methods of any single object, and in the
# future off course they will, just not yet. Most single objects don't need that,