Ruby Interpolation Results in Out-of-Order Output
Advertisements New to Ruby here and trying to output the contents of an instance for a class I’ve created. I don’t think it should matter, but known_var in the following is being retrieved from an array. The line I am running is simply: for known_var in @known_variables puts "known_var is #{known_var}" The result I am… Read More Ruby Interpolation Results in Out-of-Order Output