change args argument to create method to be hash

was array and didn’t carry types and names
This commit is contained in:
Torsten Ruger
2015-11-11 20:41:02 +02:00
parent 351a747bfd
commit 6137833140
7 changed files with 20 additions and 69 deletions

View File

@ -152,7 +152,7 @@ module Register
@space.get_class_by_name(:Word).add_instance_method Builtin::Word.send(:putstring , nil)
obj = @space.get_class_by_name(:Integer)
[:putint,:fibo ].each do |f|
[:mod , :putint].each do |f|
obj.add_instance_method Builtin::Integer.send(f , nil)
end
end