rumai 3.2.2 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +27 -5
- data/bin/rumai +12 -37
- data/lib/rumai/inochi.rb +8 -17
- data/lib/rumai/irb.rb +21 -0
- data/man.html +914 -0
- data/man/man1/rumai.1.gz +0 -0
- metadata +19 -94
- data/HISTORY +0 -350
- data/INSTALL +0 -33
- data/MANUAL +0 -26
- data/README +0 -92
- data/USAGE +0 -297
- data/doc/ann.xml +0 -61
- data/doc/api/IO.html +0 -119
- data/doc/api/Integer.html +0 -171
- data/doc/api/Rumai.html +0 -1540
- data/doc/api/Rumai/Area.html +0 -1485
- data/doc/api/Rumai/Chain.html +0 -301
- data/doc/api/Rumai/Client.html +0 -2451
- data/doc/api/Rumai/ClientContainer.html +0 -301
- data/doc/api/Rumai/ExportInstanceMethods.html +0 -103
- data/doc/api/Rumai/IXP.html +0 -94
- data/doc/api/Rumai/IXP/Agent.html +0 -1625
- data/doc/api/Rumai/IXP/Agent/FidStream.html +0 -959
- data/doc/api/Rumai/IXP/Agent/RangedPool.html +0 -381
- data/doc/api/Rumai/IXP/Error.html +0 -110
- data/doc/api/Rumai/IXP/Fcall.html +0 -503
- data/doc/api/Rumai/IXP/Qid.html +0 -207
- data/doc/api/Rumai/IXP/Rattach.html +0 -148
- data/doc/api/Rumai/IXP/Rauth.html +0 -148
- data/doc/api/Rumai/IXP/Rclunk.html +0 -148
- data/doc/api/Rumai/IXP/Rcreate.html +0 -148
- data/doc/api/Rumai/IXP/Rerror.html +0 -148
- data/doc/api/Rumai/IXP/Rflush.html +0 -148
- data/doc/api/Rumai/IXP/Ropen.html +0 -148
- data/doc/api/Rumai/IXP/Rread.html +0 -148
- data/doc/api/Rumai/IXP/Rremove.html +0 -148
- data/doc/api/Rumai/IXP/Rstat.html +0 -148
- data/doc/api/Rumai/IXP/Rversion.html +0 -148
- data/doc/api/Rumai/IXP/Rwalk.html +0 -148
- data/doc/api/Rumai/IXP/Rwrite.html +0 -148
- data/doc/api/Rumai/IXP/Rwstat.html +0 -148
- data/doc/api/Rumai/IXP/Stat.html +0 -335
- data/doc/api/Rumai/IXP/Stream.html +0 -194
- data/doc/api/Rumai/IXP/Struct.html +0 -586
- data/doc/api/Rumai/IXP/Struct/ClassField.html +0 -242
- data/doc/api/Rumai/IXP/Struct/Field.html +0 -782
- data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +0 -227
- data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +0 -153
- data/doc/api/Rumai/IXP/Struct/Integer8Field.html +0 -242
- data/doc/api/Rumai/IXP/Struct/StringField.html +0 -206
- data/doc/api/Rumai/IXP/Tattach.html +0 -148
- data/doc/api/Rumai/IXP/Tauth.html +0 -148
- data/doc/api/Rumai/IXP/Tclunk.html +0 -148
- data/doc/api/Rumai/IXP/Tcreate.html +0 -148
- data/doc/api/Rumai/IXP/Terror.html +0 -231
- data/doc/api/Rumai/IXP/Tflush.html +0 -148
- data/doc/api/Rumai/IXP/Topen.html +0 -240
- data/doc/api/Rumai/IXP/Tread.html +0 -148
- data/doc/api/Rumai/IXP/Tremove.html +0 -148
- data/doc/api/Rumai/IXP/Tstat.html +0 -148
- data/doc/api/Rumai/IXP/Tversion.html +0 -162
- data/doc/api/Rumai/IXP/Twalk.html +0 -148
- data/doc/api/Rumai/IXP/Twrite.html +0 -148
- data/doc/api/Rumai/IXP/Twstat.html +0 -148
- data/doc/api/Rumai/Node.html +0 -1406
- data/doc/api/Rumai/View.html +0 -1587
- data/doc/api/Rumai/WidgetImpl.html +0 -333
- data/doc/api/Rumai/WidgetNode.html +0 -246
- data/doc/api/String.html +0 -258
- data/doc/api/StringIO.html +0 -119
- data/doc/api/Time.html +0 -247
- data/doc/api/_index.html +0 -581
- data/doc/api/class_list.html +0 -36
- data/doc/api/css/common.css +0 -1
- data/doc/api/css/full_list.css +0 -50
- data/doc/api/css/style.css +0 -273
- data/doc/api/file.LICENSE.html +0 -73
- data/doc/api/file_list.html +0 -38
- data/doc/api/frames.html +0 -13
- data/doc/api/index.html +0 -73
- data/doc/api/js/app.js +0 -111
- data/doc/api/js/full_list.js +0 -117
- data/doc/api/js/jquery.js +0 -19
- data/doc/api/method_list.html +0 -1491
- data/doc/api/top-level-namespace.html +0 -89
- data/doc/index.html +0 -2655
- data/inochi.opts +0 -31
- data/test/rumai/ixp/message_test.rb +0 -245
- data/test/runner +0 -25
- data/test/test_helper.rb +0 -1
@@ -1,148 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: Rumai::IXP::Twalk</title>
|
7
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '../..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../../_index.html">Index (T)</a> »
|
27
|
-
<span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> » <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Twalk</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: Rumai::IXP::Twalk
|
47
|
-
|
48
|
-
|
49
|
-
</h1>
|
50
|
-
|
51
|
-
<dl class="box">
|
52
|
-
|
53
|
-
<dt class="r1">Inherits:</dt>
|
54
|
-
<dd class="r1">
|
55
|
-
<span class="inheritName"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></span>
|
56
|
-
|
57
|
-
<ul class="fullTree">
|
58
|
-
<li><a href="../../Object.html" title="Object (class)">Object</a></li>
|
59
|
-
|
60
|
-
<li class="next"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></li>
|
61
|
-
|
62
|
-
<li class="next">Rumai::IXP::Twalk</li>
|
63
|
-
|
64
|
-
</ul>
|
65
|
-
<a href="#" class="inheritanceTree">show all</a>
|
66
|
-
|
67
|
-
</dd>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<dt class="r2 last">Defined in:</dt>
|
78
|
-
<dd class="r2 last">lib/rumai/ixp/message.rb</dd>
|
79
|
-
|
80
|
-
</dl>
|
81
|
-
<div class="clear"></div>
|
82
|
-
|
83
|
-
<h2>Overview</h2><div class="docstring">
|
84
|
-
<div class="discussion">
|
85
|
-
<p>
|
86
|
-
size[4] Twalk tag[2] fid[4] newfid[4] nwname[2] nwname*(wname[s])
|
87
|
-
</p>
|
88
|
-
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
<div class="tags">
|
93
|
-
|
94
|
-
</div>
|
95
|
-
<h2>Constant Summary</h2>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<h3 class="inherited">Constants inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
104
|
-
<p class="inherited"><a href="Fcall.html#CLASS_TO_TYPE-constant" title="Rumai::IXP::Fcall::CLASS_TO_TYPE (constant)">CLASS_TO_TYPE</a>, <a href="Fcall.html#NOFID-constant" title="Rumai::IXP::Fcall::NOFID (constant)">NOFID</a>, <a href="Fcall.html#NOTAG-constant" title="Rumai::IXP::Fcall::NOTAG (constant)">NOTAG</a>, <a href="Fcall.html#TYPE_TO_CLASS-constant" title="Rumai::IXP::Fcall::TYPE_TO_CLASS (constant)">TYPE_TO_CLASS</a></p>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<h2>Method Summary</h2>
|
118
|
-
|
119
|
-
<h3 class="inherited">Methods inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
120
|
-
<p class="inherited"><a href="Fcall.html#from_9p-class_method" title="Rumai::IXP::Fcall.from_9p (method)">from_9p</a>, <a href="Fcall.html#to_9p-instance_method" title="Rumai::IXP::Fcall#to_9p (method)">#to_9p</a>, <a href="Fcall.html#type-class_method" title="Rumai::IXP::Fcall.type (method)">type</a>, <a href="Fcall.html#type-instance_method" title="Rumai::IXP::Fcall#type (method)">#type</a></p>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<h3 class="inherited">Methods included from <a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></h3>
|
130
|
-
<p class="inherited"><a href="Struct.html#included-class_method" title="Rumai::IXP::Struct.included (method)">included</a>, <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">#initialize</a>, <a href="Struct.html#load_9p-instance_method" title="Rumai::IXP::Struct#load_9p (method)">#load_9p</a>, <a href="Struct.html#to_9p-instance_method" title="Rumai::IXP::Struct#to_9p (method)">#to_9p</a></p>
|
131
|
-
<div id="constructor_details" class="method_details_list">
|
132
|
-
<h2>Constructor Details</h2>
|
133
|
-
|
134
|
-
<p class="notice">This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">Rumai::IXP::Struct</a></p>
|
135
|
-
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
<div id="footer">
|
142
|
-
Generated on Thu Apr 1 00:30:59 2010 by
|
143
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
144
|
-
0.5.4 (ruby-1.9.1).
|
145
|
-
</div>
|
146
|
-
|
147
|
-
</body>
|
148
|
-
</html>
|
@@ -1,148 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: Rumai::IXP::Twrite</title>
|
7
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '../..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../../_index.html">Index (T)</a> »
|
27
|
-
<span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> » <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Twrite</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: Rumai::IXP::Twrite
|
47
|
-
|
48
|
-
|
49
|
-
</h1>
|
50
|
-
|
51
|
-
<dl class="box">
|
52
|
-
|
53
|
-
<dt class="r1">Inherits:</dt>
|
54
|
-
<dd class="r1">
|
55
|
-
<span class="inheritName"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></span>
|
56
|
-
|
57
|
-
<ul class="fullTree">
|
58
|
-
<li><a href="../../Object.html" title="Object (class)">Object</a></li>
|
59
|
-
|
60
|
-
<li class="next"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></li>
|
61
|
-
|
62
|
-
<li class="next">Rumai::IXP::Twrite</li>
|
63
|
-
|
64
|
-
</ul>
|
65
|
-
<a href="#" class="inheritanceTree">show all</a>
|
66
|
-
|
67
|
-
</dd>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<dt class="r2 last">Defined in:</dt>
|
78
|
-
<dd class="r2 last">lib/rumai/ixp/message.rb</dd>
|
79
|
-
|
80
|
-
</dl>
|
81
|
-
<div class="clear"></div>
|
82
|
-
|
83
|
-
<h2>Overview</h2><div class="docstring">
|
84
|
-
<div class="discussion">
|
85
|
-
<p>
|
86
|
-
size[4] Twrite tag[2] fid[4] offset[8] count[4] data[count]
|
87
|
-
</p>
|
88
|
-
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
<div class="tags">
|
93
|
-
|
94
|
-
</div>
|
95
|
-
<h2>Constant Summary</h2>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<h3 class="inherited">Constants inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
104
|
-
<p class="inherited"><a href="Fcall.html#CLASS_TO_TYPE-constant" title="Rumai::IXP::Fcall::CLASS_TO_TYPE (constant)">CLASS_TO_TYPE</a>, <a href="Fcall.html#NOFID-constant" title="Rumai::IXP::Fcall::NOFID (constant)">NOFID</a>, <a href="Fcall.html#NOTAG-constant" title="Rumai::IXP::Fcall::NOTAG (constant)">NOTAG</a>, <a href="Fcall.html#TYPE_TO_CLASS-constant" title="Rumai::IXP::Fcall::TYPE_TO_CLASS (constant)">TYPE_TO_CLASS</a></p>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<h2>Method Summary</h2>
|
118
|
-
|
119
|
-
<h3 class="inherited">Methods inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
120
|
-
<p class="inherited"><a href="Fcall.html#from_9p-class_method" title="Rumai::IXP::Fcall.from_9p (method)">from_9p</a>, <a href="Fcall.html#to_9p-instance_method" title="Rumai::IXP::Fcall#to_9p (method)">#to_9p</a>, <a href="Fcall.html#type-class_method" title="Rumai::IXP::Fcall.type (method)">type</a>, <a href="Fcall.html#type-instance_method" title="Rumai::IXP::Fcall#type (method)">#type</a></p>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<h3 class="inherited">Methods included from <a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></h3>
|
130
|
-
<p class="inherited"><a href="Struct.html#included-class_method" title="Rumai::IXP::Struct.included (method)">included</a>, <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">#initialize</a>, <a href="Struct.html#load_9p-instance_method" title="Rumai::IXP::Struct#load_9p (method)">#load_9p</a>, <a href="Struct.html#to_9p-instance_method" title="Rumai::IXP::Struct#to_9p (method)">#to_9p</a></p>
|
131
|
-
<div id="constructor_details" class="method_details_list">
|
132
|
-
<h2>Constructor Details</h2>
|
133
|
-
|
134
|
-
<p class="notice">This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">Rumai::IXP::Struct</a></p>
|
135
|
-
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
<div id="footer">
|
142
|
-
Generated on Thu Apr 1 00:31:00 2010 by
|
143
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
144
|
-
0.5.4 (ruby-1.9.1).
|
145
|
-
</div>
|
146
|
-
|
147
|
-
</body>
|
148
|
-
</html>
|
@@ -1,148 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: Rumai::IXP::Twstat</title>
|
7
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '../..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../../_index.html">Index (T)</a> »
|
27
|
-
<span class='title'><a href="../../Rumai.html" title="Rumai (module)">Rumai</a></span> » <span class='title'><a href="../IXP.html" title="Rumai::IXP (module)">IXP</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Twstat</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: Rumai::IXP::Twstat
|
47
|
-
|
48
|
-
|
49
|
-
</h1>
|
50
|
-
|
51
|
-
<dl class="box">
|
52
|
-
|
53
|
-
<dt class="r1">Inherits:</dt>
|
54
|
-
<dd class="r1">
|
55
|
-
<span class="inheritName"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></span>
|
56
|
-
|
57
|
-
<ul class="fullTree">
|
58
|
-
<li><a href="../../Object.html" title="Object (class)">Object</a></li>
|
59
|
-
|
60
|
-
<li class="next"><a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></li>
|
61
|
-
|
62
|
-
<li class="next">Rumai::IXP::Twstat</li>
|
63
|
-
|
64
|
-
</ul>
|
65
|
-
<a href="#" class="inheritanceTree">show all</a>
|
66
|
-
|
67
|
-
</dd>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<dt class="r2 last">Defined in:</dt>
|
78
|
-
<dd class="r2 last">lib/rumai/ixp/message.rb</dd>
|
79
|
-
|
80
|
-
</dl>
|
81
|
-
<div class="clear"></div>
|
82
|
-
|
83
|
-
<h2>Overview</h2><div class="docstring">
|
84
|
-
<div class="discussion">
|
85
|
-
<p>
|
86
|
-
size[4] Twstat tag[2] fid[4] stat[n]
|
87
|
-
</p>
|
88
|
-
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
<div class="tags">
|
93
|
-
|
94
|
-
</div>
|
95
|
-
<h2>Constant Summary</h2>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<h3 class="inherited">Constants inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
104
|
-
<p class="inherited"><a href="Fcall.html#CLASS_TO_TYPE-constant" title="Rumai::IXP::Fcall::CLASS_TO_TYPE (constant)">CLASS_TO_TYPE</a>, <a href="Fcall.html#NOFID-constant" title="Rumai::IXP::Fcall::NOFID (constant)">NOFID</a>, <a href="Fcall.html#NOTAG-constant" title="Rumai::IXP::Fcall::NOTAG (constant)">NOTAG</a>, <a href="Fcall.html#TYPE_TO_CLASS-constant" title="Rumai::IXP::Fcall::TYPE_TO_CLASS (constant)">TYPE_TO_CLASS</a></p>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<h2>Method Summary</h2>
|
118
|
-
|
119
|
-
<h3 class="inherited">Methods inherited from <a href="Fcall.html" title="Rumai::IXP::Fcall (class)">Fcall</a></h3>
|
120
|
-
<p class="inherited"><a href="Fcall.html#from_9p-class_method" title="Rumai::IXP::Fcall.from_9p (method)">from_9p</a>, <a href="Fcall.html#to_9p-instance_method" title="Rumai::IXP::Fcall#to_9p (method)">#to_9p</a>, <a href="Fcall.html#type-class_method" title="Rumai::IXP::Fcall.type (method)">type</a>, <a href="Fcall.html#type-instance_method" title="Rumai::IXP::Fcall#type (method)">#type</a></p>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<h3 class="inherited">Methods included from <a href="Struct.html" title="Rumai::IXP::Struct (module)">Struct</a></h3>
|
130
|
-
<p class="inherited"><a href="Struct.html#included-class_method" title="Rumai::IXP::Struct.included (method)">included</a>, <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">#initialize</a>, <a href="Struct.html#load_9p-instance_method" title="Rumai::IXP::Struct#load_9p (method)">#load_9p</a>, <a href="Struct.html#to_9p-instance_method" title="Rumai::IXP::Struct#to_9p (method)">#to_9p</a></p>
|
131
|
-
<div id="constructor_details" class="method_details_list">
|
132
|
-
<h2>Constructor Details</h2>
|
133
|
-
|
134
|
-
<p class="notice">This class inherits a constructor from <a href="Struct.html#initialize-instance_method" title="Rumai::IXP::Struct#initialize (method)">Rumai::IXP::Struct</a></p>
|
135
|
-
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
<div id="footer">
|
142
|
-
Generated on Thu Apr 1 00:31:00 2010 by
|
143
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
144
|
-
0.5.4 (ruby-1.9.1).
|
145
|
-
</div>
|
146
|
-
|
147
|
-
</body>
|
148
|
-
</html>
|
data/doc/api/Rumai/Node.html
DELETED
@@ -1,1406 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Class: Rumai::Node</title>
|
7
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '..';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="../_index.html">Index (N)</a> »
|
27
|
-
<span class='title'><a href="../Rumai.html" title="Rumai (module)">Rumai</a></span>
|
28
|
-
»
|
29
|
-
<span class="title">Node</span>
|
30
|
-
|
31
|
-
|
32
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="search">
|
36
|
-
<a id="class_list_link" href="#">Class List</a>
|
37
|
-
<a id="method_list_link" href="#">Method List</a>
|
38
|
-
<a id ="file_list_link" href="#">File List</a>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="clear"></div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<iframe id="search_frame"></iframe>
|
45
|
-
|
46
|
-
<div id="content"><h1>Class: Rumai::Node
|
47
|
-
|
48
|
-
|
49
|
-
</h1>
|
50
|
-
|
51
|
-
<dl class="box">
|
52
|
-
|
53
|
-
<dt class="r1">Inherits:</dt>
|
54
|
-
<dd class="r1">
|
55
|
-
<span class="inheritName"><a href="../Object.html" title="Object (class)">Object</a></span>
|
56
|
-
|
57
|
-
<ul class="fullTree">
|
58
|
-
<li><a href="../Object.html" title="Object (class)">Object</a></li>
|
59
|
-
|
60
|
-
<li class="next">Rumai::Node</li>
|
61
|
-
|
62
|
-
</ul>
|
63
|
-
<a href="#" class="inheritanceTree">show all</a>
|
64
|
-
|
65
|
-
</dd>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
<dt class="r2">Includes:</dt>
|
73
|
-
<dd class="r2">Enumerable</dd>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dt class="r1 last">Defined in:</dt>
|
80
|
-
<dd class="r1 last">lib/rumai/fs.rb</dd>
|
81
|
-
|
82
|
-
</dl>
|
83
|
-
<div class="clear"></div>
|
84
|
-
|
85
|
-
<h2>Overview</h2><div class="docstring">
|
86
|
-
<div class="discussion">
|
87
|
-
<p>
|
88
|
-
An entry in the IXP file system.
|
89
|
-
</p>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="tags">
|
95
|
-
|
96
|
-
</div><div id="subclasses">
|
97
|
-
<h2>Direct Known Subclasses</h2>
|
98
|
-
<p class="children"><a href="WidgetNode.html" title="Rumai::WidgetNode (class)">WidgetNode</a></p>
|
99
|
-
</div>
|
100
|
-
|
101
|
-
<h2>Constant Summary</h2>
|
102
|
-
|
103
|
-
<dl class="constants">
|
104
|
-
|
105
|
-
<dt id="cache-classvariable" class="">@@cache =
|
106
|
-
|
107
|
-
</dt>
|
108
|
-
<dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id new'>new</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id h'>h</span><span class='comma'>,</span><span class='id k'>k</span><span class='op'>|</span> <span class='id h'>h</span><span class='lbracket'>[</span><span class='id k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Node</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id k'>k</span><span class='rparen'>)</span> <span class='rbrace'>}</span></pre></dd>
|
109
|
-
|
110
|
-
</dl>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<h2>Instance Attribute Summary</h2>
|
116
|
-
<ul class="summary">
|
117
|
-
|
118
|
-
<li class="public ">
|
119
|
-
<span class="summary_signature">
|
120
|
-
|
121
|
-
<a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</strong> </a>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
</span>
|
126
|
-
|
127
|
-
|
128
|
-
<span class="note title readonly">readonly</span>
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<span class="summary_desc"><div class='inline'><p>
|
137
|
-
Returns the value of attribute path.
|
138
|
-
</p>
|
139
|
-
</div></span>
|
140
|
-
|
141
|
-
</li>
|
142
|
-
|
143
|
-
|
144
|
-
</ul>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<h2>Instance Method Summary</h2>
|
149
|
-
|
150
|
-
<ul class="summary">
|
151
|
-
|
152
|
-
<li class="public ">
|
153
|
-
<span class="summary_signature">
|
154
|
-
|
155
|
-
<a href="#%5B%5D-instance_method" title="#[] (instance method)">- (Object) <strong>[]</strong>(sub_path) </a>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
</span>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<span class="summary_desc"><div class='inline'><p>
|
168
|
-
Returns the given sub-path as a Node object.
|
169
|
-
</p>
|
170
|
-
</div></span>
|
171
|
-
|
172
|
-
</li>
|
173
|
-
|
174
|
-
|
175
|
-
<li class="public ">
|
176
|
-
<span class="summary_signature">
|
177
|
-
|
178
|
-
<a href="#children-instance_method" title="#children (instance method)">- (Object) <strong>children</strong> </a>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
</span>
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
<span class="summary_desc"><div class='inline'><p>
|
191
|
-
Returns all child nodes of this node.
|
192
|
-
</p>
|
193
|
-
</div></span>
|
194
|
-
|
195
|
-
</li>
|
196
|
-
|
197
|
-
|
198
|
-
<li class="public ">
|
199
|
-
<span class="summary_signature">
|
200
|
-
|
201
|
-
<a href="#clear-instance_method" title="#clear (instance method)">- (Object) <strong>clear</strong> </a>
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
</span>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<span class="summary_desc"><div class='inline'><p>
|
214
|
-
Deletes all child nodes.
|
215
|
-
</p>
|
216
|
-
</div></span>
|
217
|
-
|
218
|
-
</li>
|
219
|
-
|
220
|
-
|
221
|
-
<li class="public ">
|
222
|
-
<span class="summary_signature">
|
223
|
-
|
224
|
-
<a href="#create-instance_method" title="#create (instance method)">- (Object) <strong>create</strong>(*args) </a>
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
</span>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
<span class="summary_desc"><div class='inline'><p>
|
237
|
-
Creates a file corresponding to this node on the IXP server.
|
238
|
-
</p>
|
239
|
-
</div></span>
|
240
|
-
|
241
|
-
</li>
|
242
|
-
|
243
|
-
|
244
|
-
<li class="public ">
|
245
|
-
<span class="summary_signature">
|
246
|
-
|
247
|
-
<a href="#directory%3F-instance_method" title="#directory? (instance method)">- (Boolean) <strong>directory?</strong> </a>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
</span>
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<span class="summary_desc"><div class='inline'><p>
|
260
|
-
Tests if this node is a directory.
|
261
|
-
</p>
|
262
|
-
</div></span>
|
263
|
-
|
264
|
-
</li>
|
265
|
-
|
266
|
-
|
267
|
-
<li class="public ">
|
268
|
-
<span class="summary_signature">
|
269
|
-
|
270
|
-
<a href="#each-instance_method" title="#each (instance method)">- (Object) <strong>each</strong>(&block) </a>
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
</span>
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
<span class="summary_desc"><div class='inline'><p>
|
283
|
-
Iterates through each child of this directory.
|
284
|
-
</p>
|
285
|
-
</div></span>
|
286
|
-
|
287
|
-
</li>
|
288
|
-
|
289
|
-
|
290
|
-
<li class="public ">
|
291
|
-
<span class="summary_signature">
|
292
|
-
|
293
|
-
<a href="#each_line-instance_method" title="#each_line (instance method)">- (Object) <strong>each_line</strong> {|line| ... }</a>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
</span>
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
<span class="summary_desc"><div class='inline'><p>
|
306
|
-
Invokes the given block for every line in the content of this node.
|
307
|
-
</p>
|
308
|
-
</div></span>
|
309
|
-
|
310
|
-
</li>
|
311
|
-
|
312
|
-
|
313
|
-
<li class="public ">
|
314
|
-
<span class="summary_signature">
|
315
|
-
|
316
|
-
<a href="#entries-instance_method" title="#entries (instance method)">- (Object) <strong>entries</strong> </a>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
</span>
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
<span class="summary_desc"><div class='inline'><p>
|
329
|
-
Returns the names of all files in this directory.
|
330
|
-
</p>
|
331
|
-
</div></span>
|
332
|
-
|
333
|
-
</li>
|
334
|
-
|
335
|
-
|
336
|
-
<li class="public ">
|
337
|
-
<span class="summary_signature">
|
338
|
-
|
339
|
-
<a href="#exist%3F-instance_method" title="#exist? (instance method)">- (Boolean) <strong>exist?</strong> </a>
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
</span>
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
<span class="summary_desc"><div class='inline'><p>
|
352
|
-
Tests if this node exists on the IXP server.
|
353
|
-
</p>
|
354
|
-
</div></span>
|
355
|
-
|
356
|
-
</li>
|
357
|
-
|
358
|
-
|
359
|
-
<li class="public ">
|
360
|
-
<span class="summary_signature">
|
361
|
-
|
362
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Node) <strong>initialize</strong>(path) </a>
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
</span>
|
367
|
-
|
368
|
-
<span class="note title constructor">constructor</span>
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
<span class="summary_desc"><div class='inline'><p>
|
377
|
-
A new instance of Node.
|
378
|
-
</p>
|
379
|
-
</div></span>
|
380
|
-
|
381
|
-
</li>
|
382
|
-
|
383
|
-
|
384
|
-
<li class="public ">
|
385
|
-
<span class="summary_signature">
|
386
|
-
|
387
|
-
<a href="#method_missing-instance_method" title="#method_missing (instance method)">- (Object) <strong>method_missing</strong>(meth, *args) </a>
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
</span>
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
<span class="summary_desc"><div class='inline'><p>
|
400
|
-
Provides access to child nodes through method calls.
|
401
|
-
</p>
|
402
|
-
</div></span>
|
403
|
-
|
404
|
-
</li>
|
405
|
-
|
406
|
-
|
407
|
-
<li class="public ">
|
408
|
-
<span class="summary_signature">
|
409
|
-
|
410
|
-
<a href="#open-instance_method" title="#open (instance method)">- (Object) <strong>open</strong>(mode = 'r', &block) </a>
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
</span>
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
<span class="summary_desc"><div class='inline'><p>
|
423
|
-
Opens this node for I/O access.
|
424
|
-
</p>
|
425
|
-
</div></span>
|
426
|
-
|
427
|
-
</li>
|
428
|
-
|
429
|
-
|
430
|
-
<li class="public ">
|
431
|
-
<span class="summary_signature">
|
432
|
-
|
433
|
-
<a href="#parent-instance_method" title="#parent (instance method)">- (Object) <strong>parent</strong> </a>
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
</span>
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
<span class="summary_desc"><div class='inline'><p>
|
446
|
-
Returns the parent node of this node.
|
447
|
-
</p>
|
448
|
-
</div></span>
|
449
|
-
|
450
|
-
</li>
|
451
|
-
|
452
|
-
|
453
|
-
<li class="public ">
|
454
|
-
<span class="summary_signature">
|
455
|
-
|
456
|
-
<a href="#read-instance_method" title="#read (instance method)">- (Object) <strong>read</strong>(*args) </a>
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
</span>
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
<span class="summary_desc"><div class='inline'><p>
|
469
|
-
Returns the entire content of this node.
|
470
|
-
</p>
|
471
|
-
</div></span>
|
472
|
-
|
473
|
-
</li>
|
474
|
-
|
475
|
-
|
476
|
-
<li class="public ">
|
477
|
-
<span class="summary_signature">
|
478
|
-
|
479
|
-
<a href="#remove-instance_method" title="#remove (instance method)">- (Object) <strong>remove</strong> </a>
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
</span>
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
<span class="summary_desc"><div class='inline'><p>
|
492
|
-
Deletes the file corresponding to this node on the IXP server.
|
493
|
-
</p>
|
494
|
-
</div></span>
|
495
|
-
|
496
|
-
</li>
|
497
|
-
|
498
|
-
|
499
|
-
<li class="public ">
|
500
|
-
<span class="summary_signature">
|
501
|
-
|
502
|
-
<a href="#stat-instance_method" title="#stat (instance method)">- (Object) <strong>stat</strong> </a>
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
</span>
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
<span class="summary_desc"><div class='inline'><p>
|
515
|
-
Returns file statistics about this node.
|
516
|
-
</p>
|
517
|
-
</div></span>
|
518
|
-
|
519
|
-
</li>
|
520
|
-
|
521
|
-
|
522
|
-
<li class="public ">
|
523
|
-
<span class="summary_signature">
|
524
|
-
|
525
|
-
<a href="#write-instance_method" title="#write (instance method)">- (Object) <strong>write</strong>(content) </a>
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
</span>
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
<span class="summary_desc"><div class='inline'><p>
|
538
|
-
Writes the given content to this node.
|
539
|
-
</p>
|
540
|
-
</div></span>
|
541
|
-
|
542
|
-
</li>
|
543
|
-
|
544
|
-
|
545
|
-
</ul>
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
<div id="constructor_details" class="method_details_list">
|
550
|
-
<h2>Constructor Details</h2>
|
551
|
-
|
552
|
-
<div class="method_details first">
|
553
|
-
<p class="signature first" id="initialize-instance_method">
|
554
|
-
|
555
|
-
- (<tt><a href="" title="Rumai::Node (class)">Node</a></tt>) <strong>initialize</strong>(path)
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
</p><div class="docstring">
|
560
|
-
<div class="discussion">
|
561
|
-
<p>
|
562
|
-
A new instance of Node
|
563
|
-
</p>
|
564
|
-
|
565
|
-
|
566
|
-
</div>
|
567
|
-
</div>
|
568
|
-
<div class="tags">
|
569
|
-
|
570
|
-
</div><table class="source_code">
|
571
|
-
<tr>
|
572
|
-
<td>
|
573
|
-
<pre class="lines">
|
574
|
-
|
575
|
-
|
576
|
-
35
|
577
|
-
36
|
578
|
-
37</pre>
|
579
|
-
</td>
|
580
|
-
<td>
|
581
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 35</span>
|
582
|
-
|
583
|
-
<span class='kw'>def</span> <span class='id initialize'>initialize</span> <span class='id path'>path</span>
|
584
|
-
<span class='ivar'>@path</span> <span class='op'>=</span> <span class='id path'>path</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='period'>.</span><span class='id squeeze'>squeeze</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
585
|
-
<span class='kw'>end</span></pre>
|
586
|
-
</td>
|
587
|
-
</tr>
|
588
|
-
</table>
|
589
|
-
</div>
|
590
|
-
|
591
|
-
</div>
|
592
|
-
<div id="method_missing_details" class="method_details_list">
|
593
|
-
<h2>Dynamic Method Handling</h2>
|
594
|
-
<p class="notice this">
|
595
|
-
This class handles dynamic methods through the <tt>method_missing</tt> method
|
596
|
-
|
597
|
-
</p>
|
598
|
-
|
599
|
-
<div class="method_details first">
|
600
|
-
<p class="signature first" id="method_missing-instance_method">
|
601
|
-
|
602
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>method_missing</strong>(meth, *args)
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
</p><div class="docstring">
|
607
|
-
<div class="discussion">
|
608
|
-
<p>
|
609
|
-
Provides access to child nodes through method calls.
|
610
|
-
</p>
|
611
|
-
<p>
|
612
|
-
:call-seq: node.child -> Node
|
613
|
-
</p>
|
614
|
-
|
615
|
-
|
616
|
-
</div>
|
617
|
-
</div>
|
618
|
-
<div class="tags">
|
619
|
-
|
620
|
-
</div><table class="source_code">
|
621
|
-
<tr>
|
622
|
-
<td>
|
623
|
-
<pre class="lines">
|
624
|
-
|
625
|
-
|
626
|
-
175
|
627
|
-
176
|
628
|
-
177
|
629
|
-
178
|
630
|
-
179
|
631
|
-
180
|
632
|
-
181
|
633
|
-
182
|
634
|
-
183
|
635
|
-
184
|
636
|
-
185
|
637
|
-
186</pre>
|
638
|
-
</td>
|
639
|
-
<td>
|
640
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 175</span>
|
641
|
-
|
642
|
-
<span class='kw'>def</span> <span class='id method_missing'>method_missing</span> <span class='id meth'>meth</span><span class='comma'>,</span> <span class='op'>*</span><span class='id args'>args</span>
|
643
|
-
<span class='id child'>child</span> <span class='op'>=</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id meth'>meth</span><span class='rbracket'>]</span>
|
644
|
-
|
645
|
-
<span class='comment'># speed up future accesses
|
646
|
-
</span> <span class='lparen'>(</span><span class='kw'>class</span> <span class='op'><<</span> <span class='kw'>self</span><span class='semicolon'>;</span> <span class='kw'>self</span><span class='semicolon'>;</span> <span class='kw'>end</span><span class='rparen'>)</span><span class='period'>.</span><span class='id instance_eval'>instance_eval</span> <span class='kw'>do</span>
|
647
|
-
<span class='id define_method'>define_method</span> <span class='id meth'>meth</span> <span class='kw'>do</span>
|
648
|
-
<span class='id child'>child</span>
|
649
|
-
<span class='kw'>end</span>
|
650
|
-
<span class='kw'>end</span>
|
651
|
-
|
652
|
-
<span class='id child'>child</span>
|
653
|
-
<span class='kw'>end</span></pre>
|
654
|
-
</td>
|
655
|
-
</tr>
|
656
|
-
</table>
|
657
|
-
</div>
|
658
|
-
|
659
|
-
</div>
|
660
|
-
|
661
|
-
<div id="instance_attr_details" class="attr_details">
|
662
|
-
<h2>Instance Attribute Details</h2>
|
663
|
-
|
664
|
-
|
665
|
-
<span id=""></span>
|
666
|
-
<span id="path-instance_method"></span>
|
667
|
-
<div class="method_details first">
|
668
|
-
<p class="signature first" id="path-instance_method">
|
669
|
-
|
670
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>path</strong> <span class="extras">(readonly)</span>
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
</p><div class="docstring">
|
675
|
-
<div class="discussion">
|
676
|
-
<p>
|
677
|
-
Returns the value of attribute path
|
678
|
-
</p>
|
679
|
-
|
680
|
-
|
681
|
-
</div>
|
682
|
-
</div>
|
683
|
-
<div class="tags">
|
684
|
-
|
685
|
-
</div><table class="source_code">
|
686
|
-
<tr>
|
687
|
-
<td>
|
688
|
-
<pre class="lines">
|
689
|
-
|
690
|
-
|
691
|
-
33
|
692
|
-
34
|
693
|
-
35</pre>
|
694
|
-
</td>
|
695
|
-
<td>
|
696
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 33</span>
|
697
|
-
|
698
|
-
<span class='kw'>def</span> <span class='id path'>path</span>
|
699
|
-
<span class='ivar'>@path</span>
|
700
|
-
<span class='kw'>end</span></pre>
|
701
|
-
</td>
|
702
|
-
</tr>
|
703
|
-
</table>
|
704
|
-
</div>
|
705
|
-
|
706
|
-
</div>
|
707
|
-
|
708
|
-
|
709
|
-
<div id="instance_method_details" class="method_details_list">
|
710
|
-
<h2>Instance Method Details</h2>
|
711
|
-
|
712
|
-
|
713
|
-
<div class="method_details first">
|
714
|
-
<p class="signature first" id="[]-instance_method">
|
715
|
-
|
716
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>[]</strong>(sub_path)
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
</p><div class="docstring">
|
721
|
-
<div class="discussion">
|
722
|
-
<p>
|
723
|
-
Returns the given sub-path as a Node object.
|
724
|
-
</p>
|
725
|
-
|
726
|
-
|
727
|
-
</div>
|
728
|
-
</div>
|
729
|
-
<div class="tags">
|
730
|
-
|
731
|
-
</div><table class="source_code">
|
732
|
-
<tr>
|
733
|
-
<td>
|
734
|
-
<pre class="lines">
|
735
|
-
|
736
|
-
|
737
|
-
134
|
738
|
-
135
|
739
|
-
136</pre>
|
740
|
-
</td>
|
741
|
-
<td>
|
742
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 134</span>
|
743
|
-
|
744
|
-
<span class='kw'>def</span> <span class='op'>[]</span> <span class='id sub_path'>sub_path</span>
|
745
|
-
<span class='cvar'>@@cache</span><span class='lbracket'>[</span> <span class='const'>File</span><span class='period'>.</span><span class='id join'>join</span><span class='lparen'>(</span><span class='ivar'>@path</span><span class='comma'>,</span> <span class='id sub_path'>sub_path</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
|
746
|
-
<span class='kw'>end</span></pre>
|
747
|
-
</td>
|
748
|
-
</tr>
|
749
|
-
</table>
|
750
|
-
</div>
|
751
|
-
|
752
|
-
<div class="method_details ">
|
753
|
-
<p class="signature " id="children-instance_method">
|
754
|
-
|
755
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>children</strong>
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
</p><div class="docstring">
|
760
|
-
<div class="discussion">
|
761
|
-
<p>
|
762
|
-
Returns all child nodes of this node.
|
763
|
-
</p>
|
764
|
-
|
765
|
-
|
766
|
-
</div>
|
767
|
-
</div>
|
768
|
-
<div class="tags">
|
769
|
-
|
770
|
-
</div><table class="source_code">
|
771
|
-
<tr>
|
772
|
-
<td>
|
773
|
-
<pre class="lines">
|
774
|
-
|
775
|
-
|
776
|
-
148
|
777
|
-
149
|
778
|
-
150</pre>
|
779
|
-
</td>
|
780
|
-
<td>
|
781
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 148</span>
|
782
|
-
|
783
|
-
<span class='kw'>def</span> <span class='id children'>children</span>
|
784
|
-
<span class='id entries'>entries</span><span class='period'>.</span><span class='id map!'>map!</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id c'>c</span><span class='op'>|</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id c'>c</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
|
785
|
-
<span class='kw'>end</span></pre>
|
786
|
-
</td>
|
787
|
-
</tr>
|
788
|
-
</table>
|
789
|
-
</div>
|
790
|
-
|
791
|
-
<div class="method_details ">
|
792
|
-
<p class="signature " id="clear-instance_method">
|
793
|
-
|
794
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>clear</strong>
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
</p><div class="docstring">
|
799
|
-
<div class="discussion">
|
800
|
-
<p>
|
801
|
-
Deletes all child nodes.
|
802
|
-
</p>
|
803
|
-
|
804
|
-
|
805
|
-
</div>
|
806
|
-
</div>
|
807
|
-
<div class="tags">
|
808
|
-
|
809
|
-
</div><table class="source_code">
|
810
|
-
<tr>
|
811
|
-
<td>
|
812
|
-
<pre class="lines">
|
813
|
-
|
814
|
-
|
815
|
-
164
|
816
|
-
165
|
817
|
-
166
|
818
|
-
167
|
819
|
-
168</pre>
|
820
|
-
</td>
|
821
|
-
<td>
|
822
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 164</span>
|
823
|
-
|
824
|
-
<span class='kw'>def</span> <span class='id clear'>clear</span>
|
825
|
-
<span class='id children'>children</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id c'>c</span><span class='op'>|</span>
|
826
|
-
<span class='id c'>c</span><span class='period'>.</span><span class='id remove'>remove</span>
|
827
|
-
<span class='kw'>end</span>
|
828
|
-
<span class='kw'>end</span></pre>
|
829
|
-
</td>
|
830
|
-
</tr>
|
831
|
-
</table>
|
832
|
-
</div>
|
833
|
-
|
834
|
-
<div class="method_details ">
|
835
|
-
<p class="signature " id="create-instance_method">
|
836
|
-
|
837
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>create</strong>(*args)
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
</p><div class="docstring">
|
842
|
-
<div class="discussion">
|
843
|
-
<p>
|
844
|
-
Creates a file corresponding to this node on the IXP server.
|
845
|
-
</p>
|
846
|
-
|
847
|
-
|
848
|
-
</div>
|
849
|
-
</div>
|
850
|
-
<div class="tags">
|
851
|
-
|
852
|
-
<h3>See Also:</h3>
|
853
|
-
<ul class="see">
|
854
|
-
|
855
|
-
<li><a href="IXP/Agent.html#create-instance_method" title="Rumai::IXP::Agent#create (method)">Rumai::IXP::Agent#create</a></li>
|
856
|
-
|
857
|
-
</ul>
|
858
|
-
|
859
|
-
</div><table class="source_code">
|
860
|
-
<tr>
|
861
|
-
<td>
|
862
|
-
<pre class="lines">
|
863
|
-
|
864
|
-
|
865
|
-
120
|
866
|
-
121
|
867
|
-
122</pre>
|
868
|
-
</td>
|
869
|
-
<td>
|
870
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 120</span>
|
871
|
-
|
872
|
-
<span class='kw'>def</span> <span class='id create'>create</span> <span class='op'>*</span><span class='id args'>args</span>
|
873
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id create'>create</span> <span class='ivar'>@path</span><span class='comma'>,</span> <span class='op'>*</span><span class='id args'>args</span>
|
874
|
-
<span class='kw'>end</span></pre>
|
875
|
-
</td>
|
876
|
-
</tr>
|
877
|
-
</table>
|
878
|
-
</div>
|
879
|
-
|
880
|
-
<div class="method_details ">
|
881
|
-
<p class="signature " id="directory?-instance_method">
|
882
|
-
|
883
|
-
- (<tt>Boolean</tt>) <strong>directory?</strong>
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
</p><div class="docstring">
|
888
|
-
<div class="discussion">
|
889
|
-
<p>
|
890
|
-
Tests if this node is a directory.
|
891
|
-
</p>
|
892
|
-
|
893
|
-
|
894
|
-
</div>
|
895
|
-
</div>
|
896
|
-
<div class="tags">
|
897
|
-
<h3>Returns:</h3>
|
898
|
-
<ul class="return">
|
899
|
-
|
900
|
-
<li>
|
901
|
-
|
902
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
</li>
|
908
|
-
|
909
|
-
</ul>
|
910
|
-
|
911
|
-
</div><table class="source_code">
|
912
|
-
<tr>
|
913
|
-
<td>
|
914
|
-
<pre class="lines">
|
915
|
-
|
916
|
-
|
917
|
-
62
|
918
|
-
63
|
919
|
-
64</pre>
|
920
|
-
</td>
|
921
|
-
<td>
|
922
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 62</span>
|
923
|
-
|
924
|
-
<span class='kw'>def</span> <span class='id directory?'>directory?</span>
|
925
|
-
<span class='id exist?'>exist?</span> <span class='kw'>and</span> <span class='id stat'>stat</span><span class='period'>.</span><span class='id directory?'>directory?</span>
|
926
|
-
<span class='kw'>end</span></pre>
|
927
|
-
</td>
|
928
|
-
</tr>
|
929
|
-
</table>
|
930
|
-
</div>
|
931
|
-
|
932
|
-
<div class="method_details ">
|
933
|
-
<p class="signature " id="each-instance_method">
|
934
|
-
|
935
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>each</strong>(&block)
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
</p><div class="docstring">
|
940
|
-
<div class="discussion">
|
941
|
-
<p>
|
942
|
-
Iterates through each child of this directory.
|
943
|
-
</p>
|
944
|
-
|
945
|
-
|
946
|
-
</div>
|
947
|
-
</div>
|
948
|
-
<div class="tags">
|
949
|
-
|
950
|
-
</div><table class="source_code">
|
951
|
-
<tr>
|
952
|
-
<td>
|
953
|
-
<pre class="lines">
|
954
|
-
|
955
|
-
|
956
|
-
157
|
957
|
-
158
|
958
|
-
159</pre>
|
959
|
-
</td>
|
960
|
-
<td>
|
961
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 157</span>
|
962
|
-
|
963
|
-
<span class='kw'>def</span> <span class='id each'>each</span> <span class='op'>&</span><span class='id block'>block</span>
|
964
|
-
<span class='id children'>children</span><span class='period'>.</span><span class='id each'>each</span><span class='lparen'>(</span><span class='op'>&</span><span class='id block'>block</span><span class='rparen'>)</span>
|
965
|
-
<span class='kw'>end</span></pre>
|
966
|
-
</td>
|
967
|
-
</tr>
|
968
|
-
</table>
|
969
|
-
</div>
|
970
|
-
|
971
|
-
<div class="method_details ">
|
972
|
-
<p class="signature " id="each_line-instance_method">
|
973
|
-
|
974
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>each_line</strong> {|line| ... }
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
</p><div class="docstring">
|
979
|
-
<div class="discussion">
|
980
|
-
<p>
|
981
|
-
Invokes the given block for every line in the content of this node.
|
982
|
-
</p>
|
983
|
-
|
984
|
-
|
985
|
-
</div>
|
986
|
-
</div>
|
987
|
-
<div class="tags">
|
988
|
-
<h3>Yield Parameters:</h3>
|
989
|
-
<ul class="yieldparam">
|
990
|
-
|
991
|
-
<li>
|
992
|
-
|
993
|
-
<span class='type'>(<tt><a href="../String.html" title="String (class)">String</a></tt>)</span>
|
994
|
-
|
995
|
-
|
996
|
-
<span class='name'>line</span>
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
</li>
|
1001
|
-
|
1002
|
-
</ul>
|
1003
|
-
|
1004
|
-
</div><table class="source_code">
|
1005
|
-
<tr>
|
1006
|
-
<td>
|
1007
|
-
<pre class="lines">
|
1008
|
-
|
1009
|
-
|
1010
|
-
100
|
1011
|
-
101
|
1012
|
-
102
|
1013
|
-
103
|
1014
|
-
104
|
1015
|
-
105
|
1016
|
-
106</pre>
|
1017
|
-
</td>
|
1018
|
-
<td>
|
1019
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 100</span>
|
1020
|
-
|
1021
|
-
<span class='kw'>def</span> <span class='id each_line'>each_line</span> <span class='op'>&</span><span class='id block'>block</span>
|
1022
|
-
<span class='id open'>open</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id file'>file</span><span class='op'>|</span>
|
1023
|
-
<span class='kw'>until</span> <span class='lparen'>(</span><span class='id chunk'>chunk</span> <span class='op'>=</span> <span class='id file'>file</span><span class='period'>.</span><span class='id read'>read</span><span class='lparen'>(</span><span class='kw'>true</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id empty?'>empty?</span>
|
1024
|
-
<span class='id chunk'>chunk</span><span class='period'>.</span><span class='id each_line'>each_line</span><span class='lparen'>(</span><span class='op'>&</span><span class='id block'>block</span><span class='rparen'>)</span>
|
1025
|
-
<span class='kw'>end</span>
|
1026
|
-
<span class='kw'>end</span>
|
1027
|
-
<span class='kw'>end</span></pre>
|
1028
|
-
</td>
|
1029
|
-
</tr>
|
1030
|
-
</table>
|
1031
|
-
</div>
|
1032
|
-
|
1033
|
-
<div class="method_details ">
|
1034
|
-
<p class="signature " id="entries-instance_method">
|
1035
|
-
|
1036
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>entries</strong>
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
</p><div class="docstring">
|
1041
|
-
<div class="discussion">
|
1042
|
-
<p>
|
1043
|
-
Returns the names of all files in this directory.
|
1044
|
-
</p>
|
1045
|
-
|
1046
|
-
|
1047
|
-
</div>
|
1048
|
-
</div>
|
1049
|
-
<div class="tags">
|
1050
|
-
|
1051
|
-
</div><table class="source_code">
|
1052
|
-
<tr>
|
1053
|
-
<td>
|
1054
|
-
<pre class="lines">
|
1055
|
-
|
1056
|
-
|
1057
|
-
69
|
1058
|
-
70
|
1059
|
-
71
|
1060
|
-
72
|
1061
|
-
73
|
1062
|
-
74
|
1063
|
-
75</pre>
|
1064
|
-
</td>
|
1065
|
-
<td>
|
1066
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 69</span>
|
1067
|
-
|
1068
|
-
<span class='kw'>def</span> <span class='id entries'>entries</span>
|
1069
|
-
<span class='kw'>begin</span>
|
1070
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id entries'>entries</span> <span class='ivar'>@path</span>
|
1071
|
-
<span class='kw'>rescue</span> <span class='const'>IXP</span><span class='op'>::</span><span class='const'>Error</span>
|
1072
|
-
<span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1073
|
-
<span class='kw'>end</span>
|
1074
|
-
<span class='kw'>end</span></pre>
|
1075
|
-
</td>
|
1076
|
-
</tr>
|
1077
|
-
</table>
|
1078
|
-
</div>
|
1079
|
-
|
1080
|
-
<div class="method_details ">
|
1081
|
-
<p class="signature " id="exist?-instance_method">
|
1082
|
-
|
1083
|
-
- (<tt>Boolean</tt>) <strong>exist?</strong>
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
</p><div class="docstring">
|
1088
|
-
<div class="discussion">
|
1089
|
-
<p>
|
1090
|
-
Tests if this node exists on the IXP server.
|
1091
|
-
</p>
|
1092
|
-
|
1093
|
-
|
1094
|
-
</div>
|
1095
|
-
</div>
|
1096
|
-
<div class="tags">
|
1097
|
-
<h3>Returns:</h3>
|
1098
|
-
<ul class="return">
|
1099
|
-
|
1100
|
-
<li>
|
1101
|
-
|
1102
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
</li>
|
1108
|
-
|
1109
|
-
</ul>
|
1110
|
-
|
1111
|
-
</div><table class="source_code">
|
1112
|
-
<tr>
|
1113
|
-
<td>
|
1114
|
-
<pre class="lines">
|
1115
|
-
|
1116
|
-
|
1117
|
-
51
|
1118
|
-
52
|
1119
|
-
53
|
1120
|
-
54
|
1121
|
-
55
|
1122
|
-
56
|
1123
|
-
57</pre>
|
1124
|
-
</td>
|
1125
|
-
<td>
|
1126
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 51</span>
|
1127
|
-
|
1128
|
-
<span class='kw'>def</span> <span class='id exist?'>exist?</span>
|
1129
|
-
<span class='kw'>begin</span>
|
1130
|
-
<span class='kw'>true</span> <span class='kw'>if</span> <span class='id stat'>stat</span>
|
1131
|
-
<span class='kw'>rescue</span> <span class='const'>IXP</span><span class='op'>::</span><span class='const'>Error</span>
|
1132
|
-
<span class='kw'>false</span>
|
1133
|
-
<span class='kw'>end</span>
|
1134
|
-
<span class='kw'>end</span></pre>
|
1135
|
-
</td>
|
1136
|
-
</tr>
|
1137
|
-
</table>
|
1138
|
-
</div>
|
1139
|
-
|
1140
|
-
<div class="method_details ">
|
1141
|
-
<p class="signature " id="open-instance_method">
|
1142
|
-
|
1143
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>open</strong>(mode = 'r', &block)
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
</p><div class="docstring">
|
1148
|
-
<div class="discussion">
|
1149
|
-
<p>
|
1150
|
-
Opens this node for I/O access.
|
1151
|
-
</p>
|
1152
|
-
|
1153
|
-
|
1154
|
-
</div>
|
1155
|
-
</div>
|
1156
|
-
<div class="tags">
|
1157
|
-
|
1158
|
-
<h3>See Also:</h3>
|
1159
|
-
<ul class="see">
|
1160
|
-
|
1161
|
-
<li><a href="IXP/Agent.html#open-instance_method" title="Rumai::IXP::Agent#open (method)">Rumai::IXP::Agent#open</a></li>
|
1162
|
-
|
1163
|
-
</ul>
|
1164
|
-
|
1165
|
-
</div><table class="source_code">
|
1166
|
-
<tr>
|
1167
|
-
<td>
|
1168
|
-
<pre class="lines">
|
1169
|
-
|
1170
|
-
|
1171
|
-
82
|
1172
|
-
83
|
1173
|
-
84</pre>
|
1174
|
-
</td>
|
1175
|
-
<td>
|
1176
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 82</span>
|
1177
|
-
|
1178
|
-
<span class='kw'>def</span> <span class='id open'>open</span> <span class='id mode'>mode</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>r</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='op'>&</span><span class='id block'>block</span>
|
1179
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id open'>open</span> <span class='ivar'>@path</span><span class='comma'>,</span> <span class='id mode'>mode</span><span class='comma'>,</span> <span class='op'>&</span><span class='id block'>block</span>
|
1180
|
-
<span class='kw'>end</span></pre>
|
1181
|
-
</td>
|
1182
|
-
</tr>
|
1183
|
-
</table>
|
1184
|
-
</div>
|
1185
|
-
|
1186
|
-
<div class="method_details ">
|
1187
|
-
<p class="signature " id="parent-instance_method">
|
1188
|
-
|
1189
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>parent</strong>
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
</p><div class="docstring">
|
1194
|
-
<div class="discussion">
|
1195
|
-
<p>
|
1196
|
-
Returns the parent node of this node.
|
1197
|
-
</p>
|
1198
|
-
|
1199
|
-
|
1200
|
-
</div>
|
1201
|
-
</div>
|
1202
|
-
<div class="tags">
|
1203
|
-
|
1204
|
-
</div><table class="source_code">
|
1205
|
-
<tr>
|
1206
|
-
<td>
|
1207
|
-
<pre class="lines">
|
1208
|
-
|
1209
|
-
|
1210
|
-
141
|
1211
|
-
142
|
1212
|
-
143</pre>
|
1213
|
-
</td>
|
1214
|
-
<td>
|
1215
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 141</span>
|
1216
|
-
|
1217
|
-
<span class='kw'>def</span> <span class='id parent'>parent</span>
|
1218
|
-
<span class='cvar'>@@cache</span><span class='lbracket'>[</span> <span class='const'>File</span><span class='period'>.</span><span class='id dirname'>dirname</span><span class='lparen'>(</span><span class='ivar'>@path</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
|
1219
|
-
<span class='kw'>end</span></pre>
|
1220
|
-
</td>
|
1221
|
-
</tr>
|
1222
|
-
</table>
|
1223
|
-
</div>
|
1224
|
-
|
1225
|
-
<div class="method_details ">
|
1226
|
-
<p class="signature " id="read-instance_method">
|
1227
|
-
|
1228
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>read</strong>(*args)
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
</p><div class="docstring">
|
1233
|
-
<div class="discussion">
|
1234
|
-
<p>
|
1235
|
-
Returns the entire content of this node.
|
1236
|
-
</p>
|
1237
|
-
|
1238
|
-
|
1239
|
-
</div>
|
1240
|
-
</div>
|
1241
|
-
<div class="tags">
|
1242
|
-
|
1243
|
-
<h3>See Also:</h3>
|
1244
|
-
<ul class="see">
|
1245
|
-
|
1246
|
-
<li><a href="IXP/Agent.html#read-instance_method" title="Rumai::IXP::Agent#read (method)">Rumai::IXP::Agent#read</a></li>
|
1247
|
-
|
1248
|
-
</ul>
|
1249
|
-
|
1250
|
-
</div><table class="source_code">
|
1251
|
-
<tr>
|
1252
|
-
<td>
|
1253
|
-
<pre class="lines">
|
1254
|
-
|
1255
|
-
|
1256
|
-
91
|
1257
|
-
92
|
1258
|
-
93</pre>
|
1259
|
-
</td>
|
1260
|
-
<td>
|
1261
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 91</span>
|
1262
|
-
|
1263
|
-
<span class='kw'>def</span> <span class='id read'>read</span> <span class='op'>*</span><span class='id args'>args</span>
|
1264
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id read'>read</span> <span class='ivar'>@path</span><span class='comma'>,</span> <span class='op'>*</span><span class='id args'>args</span>
|
1265
|
-
<span class='kw'>end</span></pre>
|
1266
|
-
</td>
|
1267
|
-
</tr>
|
1268
|
-
</table>
|
1269
|
-
</div>
|
1270
|
-
|
1271
|
-
<div class="method_details ">
|
1272
|
-
<p class="signature " id="remove-instance_method">
|
1273
|
-
|
1274
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>remove</strong>
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
</p><div class="docstring">
|
1279
|
-
<div class="discussion">
|
1280
|
-
<p>
|
1281
|
-
Deletes the file corresponding to this node on the IXP server.
|
1282
|
-
</p>
|
1283
|
-
|
1284
|
-
|
1285
|
-
</div>
|
1286
|
-
</div>
|
1287
|
-
<div class="tags">
|
1288
|
-
|
1289
|
-
</div><table class="source_code">
|
1290
|
-
<tr>
|
1291
|
-
<td>
|
1292
|
-
<pre class="lines">
|
1293
|
-
|
1294
|
-
|
1295
|
-
127
|
1296
|
-
128
|
1297
|
-
129</pre>
|
1298
|
-
</td>
|
1299
|
-
<td>
|
1300
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 127</span>
|
1301
|
-
|
1302
|
-
<span class='kw'>def</span> <span class='id remove'>remove</span>
|
1303
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id remove'>remove</span> <span class='ivar'>@path</span>
|
1304
|
-
<span class='kw'>end</span></pre>
|
1305
|
-
</td>
|
1306
|
-
</tr>
|
1307
|
-
</table>
|
1308
|
-
</div>
|
1309
|
-
|
1310
|
-
<div class="method_details ">
|
1311
|
-
<p class="signature " id="stat-instance_method">
|
1312
|
-
|
1313
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>stat</strong>
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
</p><div class="docstring">
|
1318
|
-
<div class="discussion">
|
1319
|
-
<p>
|
1320
|
-
Returns file statistics about this node.
|
1321
|
-
</p>
|
1322
|
-
|
1323
|
-
|
1324
|
-
</div>
|
1325
|
-
</div>
|
1326
|
-
<div class="tags">
|
1327
|
-
|
1328
|
-
<h3>See Also:</h3>
|
1329
|
-
<ul class="see">
|
1330
|
-
|
1331
|
-
<li><a href="IXP/Agent.html#stat-instance_method" title="Rumai::IXP::Agent#stat (method)">Rumai::IXP::Agent#stat</a></li>
|
1332
|
-
|
1333
|
-
</ul>
|
1334
|
-
|
1335
|
-
</div><table class="source_code">
|
1336
|
-
<tr>
|
1337
|
-
<td>
|
1338
|
-
<pre class="lines">
|
1339
|
-
|
1340
|
-
|
1341
|
-
44
|
1342
|
-
45
|
1343
|
-
46</pre>
|
1344
|
-
</td>
|
1345
|
-
<td>
|
1346
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 44</span>
|
1347
|
-
|
1348
|
-
<span class='kw'>def</span> <span class='id stat'>stat</span>
|
1349
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id stat'>stat</span> <span class='ivar'>@path</span>
|
1350
|
-
<span class='kw'>end</span></pre>
|
1351
|
-
</td>
|
1352
|
-
</tr>
|
1353
|
-
</table>
|
1354
|
-
</div>
|
1355
|
-
|
1356
|
-
<div class="method_details ">
|
1357
|
-
<p class="signature " id="write-instance_method">
|
1358
|
-
|
1359
|
-
- (<tt><a href="../Object.html" title="Object (class)">Object</a></tt>) <strong>write</strong>(content)
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
</p><div class="docstring">
|
1364
|
-
<div class="discussion">
|
1365
|
-
<p>
|
1366
|
-
Writes the given content to this node.
|
1367
|
-
</p>
|
1368
|
-
|
1369
|
-
|
1370
|
-
</div>
|
1371
|
-
</div>
|
1372
|
-
<div class="tags">
|
1373
|
-
|
1374
|
-
</div><table class="source_code">
|
1375
|
-
<tr>
|
1376
|
-
<td>
|
1377
|
-
<pre class="lines">
|
1378
|
-
|
1379
|
-
|
1380
|
-
111
|
1381
|
-
112
|
1382
|
-
113</pre>
|
1383
|
-
</td>
|
1384
|
-
<td>
|
1385
|
-
<pre class="code"><span class="info file"># File 'lib/rumai/fs.rb', line 111</span>
|
1386
|
-
|
1387
|
-
<span class='kw'>def</span> <span class='id write'>write</span> <span class='id content'>content</span>
|
1388
|
-
<span class='const'>IXP_AGENT</span><span class='period'>.</span><span class='id write'>write</span> <span class='ivar'>@path</span><span class='comma'>,</span> <span class='id content'>content</span>
|
1389
|
-
<span class='kw'>end</span></pre>
|
1390
|
-
</td>
|
1391
|
-
</tr>
|
1392
|
-
</table>
|
1393
|
-
</div>
|
1394
|
-
|
1395
|
-
</div>
|
1396
|
-
|
1397
|
-
</div>
|
1398
|
-
|
1399
|
-
<div id="footer">
|
1400
|
-
Generated on Thu Apr 1 00:30:55 2010 by
|
1401
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
1402
|
-
0.5.4 (ruby-1.9.1).
|
1403
|
-
</div>
|
1404
|
-
|
1405
|
-
</body>
|
1406
|
-
</html>
|