moving vool_method to parfait

This commit is contained in:
Torsten Ruger
2017-12-10 20:47:26 +02:00
parent b7701d0d5e
commit bc5906fb83
10 changed files with 55 additions and 28 deletions

View File

@ -1,4 +1,4 @@
# Class is mainly a list of methods with a name. The methods are untyped.
# Class is mainly a list of methods with a name. The methods are untyped, sis Vool.
# The memory layout of an object is determined by the Type (see there).
# The class carries the "current" type, ie the type an object would be if you created an instance
@ -36,6 +36,7 @@ module Parfait
end
def add_method(method)
raise "Must be untyped method #{method}" unless method.is_a? Parfait::VoolMethod
@methods[method.name] = method
end