On 18/10/2005, at 18.37, Allan Odgaard wrote:
I've added a .to_s to the line_id. I'm not skilled in the subtle details between Ruby 1.6 and 1.8, but printing of the line_id was what got added around 540. Let me know if it fails for next build.
Puts and print call to_s on their arguments, but + doesn't for string joining. Alternatively, use print a, b, c, d, "\n" where to_s will be called on each. Makes it look a bit more terse sometimes :-). Don't know if there is a difference between 1.6 and 1.8 in this case though.
-- Sune.