Email data

I have gathered data in my ruby script and would like to insert the data
stored in my hashes into the email body. Is this done using puts or
calling the method and having it output into the email? I have tested
and sent the email using net/smtp, I just need a way to insert my data.

Thanks,
Tim