What does this mean?


What does this mean in my code and what does it do?


This is the context in which it is used.

multi_d_array.each { |x| puts "#{x}\n" }


#{} is build into ruby, it allows you to display variable inside a string. \n means new line (like hitting the enter key while typing text)