danchoi/vmail — pull request #101 by ezequielgarcia (2012-09-30 01:21:17+00:00)
Title: RFC/Pull request: Feature: save-to-file similar to append-to-file

I will never use append-to-file. Instead I'm using a modified version.
I believe it's more useful this way, perhaps it's useful to someone else.

Disclaimer:
I'm not a ruby developer, so I just copy-pasted code and used my brain a little.
Before this, I've never written a single ruby line.
So, feel free to modify the code...

Thanks!
Ezequiel.