implement how send should work (but parfait doesn't parse yet, so it doesnt)

This commit is contained in:
Torsten Ruger
2014-09-23 20:16:05 +03:00
parent f5ec7f3bdb
commit 892f251d18
4 changed files with 11 additions and 2 deletions

View File

@ -77,7 +77,7 @@ module Virtual
obj.add_instance_method Builtin::Object.send(f , @context)
end
obj = get_or_create_class :Kernel
[:main , :__init__,:putstring,:exit].each do |f|
[:main , :__init__,:putstring,:exit,:__send__].each do |f|
obj.add_instance_method Builtin::Kernel.send(f , @context)
end
obj = get_or_create_class :Integer