Move to ruby

`compute_symbol` uses the instance variable, either leave this as it is or add an argument to `compute_symbol`