J
James Edward Gray II
Here's an interesting code fragment from a Ruby Quiz solution this week:
puts "\nShortest path from #{m.pos2coord(p1).inspect} to " \
"#{m.pos2coord(p2).inspect}:", m.to_s(path)
Does Ruby concatenate those two String fragments because of the \
line continuation? I didn't know that.
James Edward Gray II
puts "\nShortest path from #{m.pos2coord(p1).inspect} to " \
"#{m.pos2coord(p2).inspect}:", m.to_s(path)
Does Ruby concatenate those two String fragments because of the \
line continuation? I didn't know that.
James Edward Gray II