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

@ -8,7 +8,7 @@ module Vool
end
def to_mom(clazz)
raise "not meta" unless clazz.class == Parfait::MetaClass
raise "not singleton" unless clazz.class == Parfait::SingletonClass
raise( "no class in #{self}") unless clazz
method = clazz.add_instance_method_for(name , make_arg_type , make_frame , body )
#puts "CLass method Class:#{clazz}:#{name}"