add a kenrnel array class with function stubs

This commit is contained in:
Torsten Ruger
2014-08-28 16:39:35 +03:00
parent da3cd69a5c
commit 9dd37a74df
4 changed files with 28 additions and 11 deletions

View File

@ -82,6 +82,10 @@ module Virtual
#puts "Boot String::#{f}"
obj.add_instance_method Salama::String.send(f , @context)
end
obj = get_or_create_class :Array
[:get , :set , :push].each do |f|
obj.add_instance_method Salama::Array.send(f , @context)
end
end
# Objects are data and get assembled after functions