/usr/share/doc/ruby-rubymail-doc/html/classes/RMail/Mailbox.html is in ruby-rubymail-doc 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Module: RMail::Mailbox</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript" language="JavaScript">
<!--
function popCode(url) {
window.open(url, "Code",
"resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
//-->
</script>
</head>
<body bgcolor="white">
<table summary="Information on class" width="100%" border="0" cellspacing="0">
<tr class="title-row">
<td class="big-title-font">
<sup><font color="aqua">Module</font></sup> RMail::Mailbox
</td>
<td align="right">
<table summary="layout" cellspacing="0" cellpadding="2">
<tr valign="top">
<td class="small-title-font">In:</td>
<td class="small-title-font">
<a href="../../files/lib/rmail/mailbox_rb.html" class="aqua">
lib/rmail/mailbox.rb
</a>
<br />
<a href="../../files/lib/rmail/mailbox/mboxreader_rb.html" class="aqua">
lib/rmail/mailbox/mboxreader.rb
</a>
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- banner header -->
<div class="description"><p>
The <a href="Mailbox.html">RMail::Mailbox</a> module contains a few methods
that are useful for working with mailboxes.
</p>
</div>
<table summary="Methods" cellpadding="5" width="100%">
<tr><td class="tablesubtitle">Methods</td></tr>
</table>
<div class="name-list">
<a href="#M000001">parse_mbox</a>
</div>
<table summary="List of classes" cellpadding="5" width="100%">
<tr><td class="tablesubtitle">Classes and Modules</td></tr>
</table>
<div class="classlist">
Class <a href="Mailbox/MBoxReader.html" class="link">RMail::Mailbox::MBoxReader</a><br />
</div>
<table summary="Method list" cellpadding="5" width="100%">
<tr><td class="tablesubtitle">Public Class methods</td></tr>
</table>
<table summary="method" width="100%" cellspacing="0" cellpadding="5" border="0">
<tr><td class="methodtitle">
<a name="M000001"></a>
<a href="Mailbox.src/M000001.html" target="Code" class="methodtitle"
onClick="popCode('Mailbox.src/M000001.html');return false;">
<b>parse_mbox</b>(input, line_separator = $/) {|raw_message| ...}
</a>
</td></tr>
</table>
<div class="description">
<p>
Parse a Unix mbox style mailbox. These mailboxes searate individual
messages with a line beginning with the string "From ".
</p>
<p>
If a block is given, yields to the block with the raw message (a string),
otherwise an array of raw message strings is returned.
</p>
</div>
</body>
</html>
|