File: port.rrd.m

package info (click to toggle)
libtmail-ruby 0.10.8-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 860 kB
  • ctags: 1,458
  • sloc: ruby: 8,406; ansic: 678; objc: 584; yacc: 305; makefile: 142
file content (69 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (2)
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
= Port Classes

== class TMail::Port

j
TMail::Port  TMail 饤֥ǤΥեʸɽǤ
᡼ʬˤ꥽äޤ
e
TMail::Port is the abstruction of mail source.
.

=== Instance Methods

: ropen -> IO
j
    ɤߤѥȥ꡼֤ޤ
e
    opens stream for read.
.

: wopen -> IO
j
    񤭤ѥȥ꡼֤ޤ
e
    opens stream for write.
.

: aopen -> IO
j
    ɲý񤭤ѥȥ꡼֤ޤ
e
    opens stream for adding.
.

== class TMail::FilePort < TMail::Port

=== Class Methods

: new(filename) -> TMail::FilePort
    filename: String

j
    FilePort ֥Ȥޤ
    filename ϥ᡼̤򤪤᤿ե̾ǤʤФޤ
e
    creates new TMail::FilePort object.
.

: filename -> String
j
    ΥݡȤäƤե֤̾ޤ
e
    returns file name which this port is wrapping.
.

== class TMail::StringPort < TMail::Port

=== Class Methods

: new(src = '') -> TMail::StringPort
    src: String

j
    StringPort ֥Ȥޤ
    string ϥ᡼ʬʸǤʤФޤ
e
    creates new TMail::StringPort object from
    mail source string.
.