diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-12-06 10:38:17 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-12-06 14:15:58 +0000 |
commit | 12b9d57ea9bbe69e5e195a90085b66056f4116a4 (patch) | |
tree | 67dd6dac62ea573f551a98350c1c4c7407672368 /lib/mail_handler/mail_handler.rb | |
parent | 14bbd1d75840add4fd5f8c440b58ac465c306fb6 (diff) |
No real need for this to be an internal function.
Diffstat (limited to 'lib/mail_handler/mail_handler.rb')
-rw-r--r-- | lib/mail_handler/mail_handler.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mail_handler/mail_handler.rb b/lib/mail_handler/mail_handler.rb index a74a9876a..7d80753c2 100644 --- a/lib/mail_handler/mail_handler.rb +++ b/lib/mail_handler/mail_handler.rb @@ -132,7 +132,7 @@ module MailHandler # recurse into zip files begin zip_file = Zip::ZipFile.open(tempfile.path) - text += _get_attachment_text_from_zip_file(zip_file) + text += get_attachment_text_from_zip_file(zip_file) zip_file.close() rescue $stderr.puts("Error processing zip file: #{$!.inspect}") @@ -143,7 +143,7 @@ module MailHandler return text end - def _get_attachment_text_from_zip_file(zip_file) + def get_attachment_text_from_zip_file(zip_file) text = "" for entry in zip_file |