> I think it would be more idiomatic to call to_s on tod_string 

@JackC Good call. I agree with that.