Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/mail_processor/base.rb
Class Method Summary collapse
Class Method Details
.read_binary(filename) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/mail_processor/base.rb', line 38 def self.read_binary filename f = File.new(filename, "rb") content = f.read() f.close() content end |