D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Mail
/
Filename :
new-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Mail where <tt>f</tt> is either a stream which responds to gets(), or a path to a file. If <tt>f</tt> is a path it will be opened. - !ruby/struct:SM::Flow::P body: "The whole message is read so it can be made available through the #header, #[] and #body methods." - !ruby/struct:SM::Flow::P body: The "From " line is ignored if the mail is in mbox format. full_name: Mail::new is_singleton: true name: new params: (f) visibility: public