Skip to content

Commit

Permalink
Correct example calls to preamble and epilogue in README
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Apr 15, 2013
1 parent ff34d38 commit 3508a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ mail = Mail.read('multipart_email')

mail.multipart? #=> true
mail.parts.length #=> 2
mail.preamble #=> "Text before the first part"
mail.epilogue #=> "Text after the last part"
mail.body.preamble #=> "Text before the first part"
mail.body.epilogue #=> "Text after the last part"
mail.parts.map { |p| p.content_type } #=> ['text/plain', 'application/pdf']
mail.parts.map { |p| p.class } #=> [Mail::Message, Mail::Message]
mail.parts[0].content_type_parameters #=> {'charset' => 'ISO-8859-1'}
Expand Down

0 comments on commit 3508a53

Please sign in to comment.