Why not just set a variable say location and then call `"\nin #{location}`. This is hard to read and I'm not sure what it buys you.