File: //usr/local/rvm/gems/default/doc/mail-2.7.1/ri/Mail/Body/cdesc-Body.ri
U:RDoc::NormalClass[iI" Body:ETI"Mail::Body;TI"Object;To:RDoc::Markup::Document:@parts[o;;[S:RDoc::Markup::Heading:
leveli: textI" Body;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[ I"NThe body is where the text of the email is stored. Mail treats the body ;TI"Nas a single object. The body itself has no information about boundaries ;TI"Pused in the MIME standard, it just looks at its content as either a single ;TI"Tblock of text, or (if it is a multipart message) as an array of blocks of text.;T@o;
;[ I"RA body has to be told to split itself up into a multipart message by calling ;TI"S#split with the correct boundary. This is because the body object has no way ;TI"Mof knowing what the correct boundary is for itself (there could be many ;TI"=boundaries in a body in the case of a nested MIME text).;T@o;
;[ I"MOnce split is called, Mail::Body will slice itself up on this boundary, ;TI"Passigning anything that appears before the first part to the preamble, and ;TI"Lanything that appears after the closing boundary to the epilogue, then ;TI"9each part gets initialized into a Mail::Part object.;T@o;
;[I"OThe boundary that is used to split up the Body is also stored in the Body ;TI"Gobject for use on encoding itself back out to a string. You can ;TI".overwrite this if it needs to be changed.;T@o;
;[I"NOn encoding, the body will return the preamble, then each part joined by ;TI"Othe boundary, followed by a closing boundary string and then the epilogue.;T:
@fileI"lib/mail/body.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I"
class;T[[:public[[I"new;TI"lib/mail/body.rb;T[:protected[ [:private[ [I"
instance;T[[;[![I"<<;T@8[I"==;T@8[I"=~;T@8[I"ascii_only?;T@8[I"
boundary;T@8[I"boundary=;T@8[I"charset;T@8[I"
charset=;T@8[I"decoded;T@8[I"default_encoding;T@8[I"empty?;T@8[I"encoded;T@8[I"
encoding;T@8[I"encoding=;T@8[I"
epilogue;T@8[I"epilogue=;T@8[I"
include?;T@8[I"
match;T@8[I"multipart?;T@8[I"negotiate_best_encoding;T@8[I"
parts;T@8[I"
preamble;T@8[I"preamble=;T@8[I"raw_source;T@8[I"set_sort_order;T@8[I"sort_parts!;T@8[I"split!;T@8[I" to_s;T@8[;[ [;[ [I"crlf_boundary;T@8[I"end_boundary;T@8[I"extract_parts;T@8[I"set_charset;T@8[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@,I" Mail;TcRDoc::NormalModule