fix dynamic resolve

patch more like, real resolve method will have to be written
and put in there
This commit is contained in:
Torsten Ruger
2018-03-10 19:01:38 +05:30
parent 3a365c779a
commit d6a2ea4cfc
6 changed files with 37 additions and 27 deletions

View File

@ -167,7 +167,7 @@ module Risc
end
obj = space.get_class_by_name(:Word)
[:putstring , :get_internal_byte , :set_internal_byte ].each do |f|
[:putstring , :get_internal_byte , :set_internal_byte , :resolve_method].each do |f|
obj.instance_type.add_method Builtin::Word.send(f , nil)
end