I'd probably rename this to "print_details" or similar. Overriding to_s to give a better semantic name, like "train-1234356" is a good idea, but outputting a report like this is not advisable.