fix condition if

This commit is contained in:
Torsten Ruger
2017-08-30 22:54:03 +03:00
parent 8d16ef0ae0
commit cd2988f8a2
4 changed files with 16 additions and 13 deletions

View File

@ -21,7 +21,7 @@ module Rubyx
end
def create_tmp
tmp_name = "tmp_#{@locals_type.instance_length}"
tmp_name = "tmp_#{@locals_type.instance_length}".to_sym
@locals_type = @locals_type.add_instance_variable( tmp_name , :Object )
tmp_name
end