Flowdock
method

new

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: Mail
new(f) public

Create a new Mail where f is either a stream which responds to gets(), or a path to a file. If f is a path it will be opened.

The whole message is read so it can be made available through the #header, #[] and #body methods.

The “From ” line is ignored if the mail is in mbox format.

Show source
Register or log in to add new notes.