rename blocks do_add to be the same as sunctions add_code to blur the difference

This commit is contained in:
Torsten Ruger
2014-06-24 12:36:32 +03:00
parent 43a2649635
commit 17904d8e02
5 changed files with 13 additions and 11 deletions

View File

@ -39,7 +39,7 @@ module Boot
return get_function
end
def _set_instance_variable(context , name , value)
def _set_instance_variable(context , name = Vm::Integer , value = Vm::Integer )
set_function = Vm::Function.new(:_set_instance_variable , Vm::Integer , [ Vm::Integer , Vm::Integer] , Vm::Integer )
me = set_function.receiver
var_name = set_function.args.first