rumai 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/rumai +2 -2
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/IO.html +1 -1
- data/doc/api/classes/Integer.html +6 -6
- data/doc/api/classes/Rumai.html +141 -141
- data/doc/api/classes/Rumai/Area.html +122 -122
- data/doc/api/classes/Rumai/Chain.html +18 -18
- data/doc/api/classes/Rumai/Client.html +420 -122
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +90 -90
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +41 -41
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +6 -6
- data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +18 -18
- data/doc/api/classes/Rumai/IXP/Fcall.html +30 -30
- data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
- data/doc/api/classes/Rumai/IXP/Stat.html +7 -7
- data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
- data/doc/api/classes/Rumai/IXP/Struct.html +24 -24
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +36 -36
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +12 -12
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +6 -6
- data/doc/api/classes/Rumai/IXP/Terror.html +6 -6
- data/doc/api/classes/Rumai/Node.html +52 -52
- data/doc/api/classes/Rumai/View.html +132 -132
- data/doc/api/classes/String.html +12 -12
- data/doc/api/classes/StringIO.html +1 -1
- data/doc/api/classes/Time.html +12 -12
- data/doc/api/created.rid +1 -1
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/LICENSE.html +1 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
- data/doc/api/files/lib/rumai/ixp_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/js/searchdoc.js +38 -15
- data/doc/api/panel/index.html +13 -5
- data/doc/api/panel/search_index.js +1 -1
- data/doc/api/panel/tree.js +1 -1
- data/doc/history.erb +79 -2
- data/doc/index.erb +2 -2
- data/doc/index.html +2017 -0
- data/doc/intro.erb +38 -62
- data/doc/setup.erb +53 -2
- data/doc/usage.erb +36 -11
- data/lib/rumai.rb +4 -4
- data/lib/rumai/fs.rb +2 -2
- data/lib/rumai/ixp.rb +2 -2
- data/lib/rumai/ixp/message.rb +2 -2
- data/lib/rumai/ixp/transport.rb +2 -2
- data/lib/rumai/wm.rb +80 -5
- data/rakefile +2 -2
- data/test/rumai/ixp/message.rb +3 -3
- metadata +9 -5
- data/doc/index.xhtml +0 -1078
@@ -60,7 +60,7 @@ href="http://cm.bell-labs.com/magic/man2html/5/stat">cm.bell-labs.com/magic/man2
|
|
60
60
|
<dd>
|
61
61
|
<ul>
|
62
62
|
|
63
|
-
<li><a href="#
|
63
|
+
<li><a href="#M000161">directory?</a></li>
|
64
64
|
|
65
65
|
</ul>
|
66
66
|
</dd>
|
@@ -74,7 +74,7 @@ href="http://cm.bell-labs.com/magic/man2html/5/stat">cm.bell-labs.com/magic/man2
|
|
74
74
|
|
75
75
|
<li>
|
76
76
|
|
77
|
-
<a href="
|
77
|
+
<a href="../IXP.html">Rumai::IXP</a>
|
78
78
|
|
79
79
|
START:includes
|
80
80
|
</li>
|
@@ -213,9 +213,9 @@ href="http://swtch.com/usr/local/plan9/include/libc.h">swtch.com/usr/local/plan9
|
|
213
213
|
<div class="sectiontitle">Instance Public methods</div>
|
214
214
|
|
215
215
|
<div class="method">
|
216
|
-
<div class="title" id="
|
216
|
+
<div class="title" id="M000161">
|
217
217
|
|
218
|
-
<a name="
|
218
|
+
<a name="M000161"></a><b>directory?</b>()
|
219
219
|
|
220
220
|
</div>
|
221
221
|
|
@@ -231,12 +231,12 @@ Tests if this file is a directory.
|
|
231
231
|
|
232
232
|
<div class="sourcecode">
|
233
233
|
<p class="source-link">
|
234
|
-
Source: <a href="javascript:toggleSource('
|
234
|
+
Source: <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show</a>
|
235
235
|
|
236
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
236
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L378" target="_blank" class="github_url">on GitHub</a>
|
237
237
|
|
238
238
|
</p>
|
239
|
-
<div id="
|
239
|
+
<div id="M000161_source" class="dyn-source">
|
240
240
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 378</span>
|
241
241
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">directory?</span>
|
242
242
|
<span class="ruby-identifier">mode</span> <span class="ruby-operator">&</span> <span class="ruby-constant">DMDIR</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
@@ -50,7 +50,7 @@ A 9P2000 byte stream.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000137">read_9p</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -92,9 +92,9 @@ uchar, ushort, uint32 (all of them little-endian)
|
|
92
92
|
<div class="sectiontitle">Instance Public methods</div>
|
93
93
|
|
94
94
|
<div class="method">
|
95
|
-
<div class="title" id="
|
95
|
+
<div class="title" id="M000137">
|
96
96
|
|
97
|
-
<a name="
|
97
|
+
<a name="M000137"></a><b>read_9p</b>(num_bytes)
|
98
98
|
|
99
99
|
</div>
|
100
100
|
|
@@ -110,12 +110,12 @@ Unpacks the given number of bytes from this 9P2000 byte stream.
|
|
110
110
|
|
111
111
|
<div class="sourcecode">
|
112
112
|
<p class="source-link">
|
113
|
-
Source: <a href="javascript:toggleSource('
|
113
|
+
Source: <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show</a>
|
114
114
|
|
115
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
115
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L37" target="_blank" class="github_url">on GitHub</a>
|
116
116
|
|
117
117
|
</p>
|
118
|
-
<div id="
|
118
|
+
<div id="M000137_source" class="dyn-source">
|
119
119
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 37</span>
|
120
120
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_9p</span> <span class="ruby-identifier">num_bytes</span>
|
121
121
|
<span class="ruby-identifier">read</span>(<span class="ruby-identifier">num_bytes</span>).<span class="ruby-identifier">unpack</span>(<span class="ruby-constant">PACKING_FLAGS</span>[<span class="ruby-identifier">num_bytes</span>])[<span class="ruby-value">0</span>]
|
@@ -50,7 +50,7 @@ A serializable 9P2000 data structure.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000141">included</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -59,7 +59,7 @@ A serializable 9P2000 data structure.
|
|
59
59
|
<dd>
|
60
60
|
<ul>
|
61
61
|
|
62
|
-
<li><a href="#
|
62
|
+
<li><a href="#M000140">load_9p</a></li>
|
63
63
|
|
64
64
|
</ul>
|
65
65
|
</dd>
|
@@ -68,7 +68,7 @@ A serializable 9P2000 data structure.
|
|
68
68
|
<dd>
|
69
69
|
<ul>
|
70
70
|
|
71
|
-
<li><a href="#
|
71
|
+
<li><a href="#M000138">new</a></li>
|
72
72
|
|
73
73
|
</ul>
|
74
74
|
</dd>
|
@@ -77,7 +77,7 @@ A serializable 9P2000 data structure.
|
|
77
77
|
<dd>
|
78
78
|
<ul>
|
79
79
|
|
80
|
-
<li><a href="#
|
80
|
+
<li><a href="#M000139">to_9p</a></li>
|
81
81
|
|
82
82
|
</ul>
|
83
83
|
</dd>
|
@@ -119,9 +119,9 @@ A serializable 9P2000 data structure.
|
|
119
119
|
<div class="sectiontitle">Class Public methods</div>
|
120
120
|
|
121
121
|
<div class="method">
|
122
|
-
<div class="title" id="
|
122
|
+
<div class="title" id="M000141">
|
123
123
|
|
124
|
-
<a name="
|
124
|
+
<a name="M000141"></a><b>included</b>(target)
|
125
125
|
|
126
126
|
</div>
|
127
127
|
|
@@ -138,12 +138,12 @@ Provides a convenient DSL (for defining fields) to all objects which
|
|
138
138
|
|
139
139
|
<div class="sourcecode">
|
140
140
|
<p class="source-link">
|
141
|
-
Source: <a href="javascript:toggleSource('
|
141
|
+
Source: <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show</a>
|
142
142
|
|
143
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
143
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L86" target="_blank" class="github_url">on GitHub</a>
|
144
144
|
|
145
145
|
</p>
|
146
|
-
<div id="
|
146
|
+
<div id="M000141_source" class="dyn-source">
|
147
147
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 86</span>
|
148
148
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">included</span> <span class="ruby-identifier">target</span>
|
149
149
|
<span class="ruby-keyword kw">class</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">target</span>
|
@@ -198,9 +198,9 @@ Provides a convenient DSL (for defining fields) to all objects which
|
|
198
198
|
</div>
|
199
199
|
|
200
200
|
<div class="method">
|
201
|
-
<div class="title" id="
|
201
|
+
<div class="title" id="M000138">
|
202
202
|
|
203
|
-
<a name="
|
203
|
+
<a name="M000138"></a><b>new</b>(field_values = {})
|
204
204
|
|
205
205
|
</div>
|
206
206
|
|
@@ -221,12 +221,12 @@ Allows field values to be initialized via the constructor.
|
|
221
221
|
|
222
222
|
<div class="sourcecode">
|
223
223
|
<p class="source-link">
|
224
|
-
Source: <a href="javascript:toggleSource('
|
224
|
+
Source: <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show</a>
|
225
225
|
|
226
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
226
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L60" target="_blank" class="github_url">on GitHub</a>
|
227
227
|
|
228
228
|
</p>
|
229
|
-
<div id="
|
229
|
+
<div id="M000138_source" class="dyn-source">
|
230
230
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 60</span>
|
231
231
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">field_values</span> = {}
|
232
232
|
<span class="ruby-ivar">@fields</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">fields</span>
|
@@ -240,9 +240,9 @@ Allows field values to be initialized via the constructor.
|
|
240
240
|
<div class="sectiontitle">Instance Public methods</div>
|
241
241
|
|
242
242
|
<div class="method">
|
243
|
-
<div class="title" id="
|
243
|
+
<div class="title" id="M000140">
|
244
244
|
|
245
|
-
<a name="
|
245
|
+
<a name="M000140"></a><b>load_9p</b>(stream)
|
246
246
|
|
247
247
|
</div>
|
248
248
|
|
@@ -258,12 +258,12 @@ Populates this object with information from the given 9P2000 byte stream.
|
|
258
258
|
|
259
259
|
<div class="sourcecode">
|
260
260
|
<p class="source-link">
|
261
|
-
Source: <a href="javascript:toggleSource('
|
261
|
+
Source: <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show</a>
|
262
262
|
|
263
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
263
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L76" target="_blank" class="github_url">on GitHub</a>
|
264
264
|
|
265
265
|
</p>
|
266
|
-
<div id="
|
266
|
+
<div id="M000140_source" class="dyn-source">
|
267
267
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 76</span>
|
268
268
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_9p</span> <span class="ruby-identifier">stream</span>
|
269
269
|
<span class="ruby-ivar">@fields</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
@@ -276,9 +276,9 @@ Populates this object with information from the given 9P2000 byte stream.
|
|
276
276
|
</div>
|
277
277
|
|
278
278
|
<div class="method">
|
279
|
-
<div class="title" id="
|
279
|
+
<div class="title" id="M000139">
|
280
280
|
|
281
|
-
<a name="
|
281
|
+
<a name="M000139"></a><b>to_9p</b>()
|
282
282
|
|
283
283
|
</div>
|
284
284
|
|
@@ -294,12 +294,12 @@ Transforms this object into a string of 9P2000 bytes.
|
|
294
294
|
|
295
295
|
<div class="sourcecode">
|
296
296
|
<p class="source-link">
|
297
|
-
Source: <a href="javascript:toggleSource('
|
297
|
+
Source: <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show</a>
|
298
298
|
|
299
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
299
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L68" target="_blank" class="github_url">on GitHub</a>
|
300
300
|
|
301
301
|
</p>
|
302
|
-
<div id="
|
302
|
+
<div id="M000139_source" class="dyn-source">
|
303
303
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 68</span>
|
304
304
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span>
|
305
305
|
<span class="ruby-ivar">@fields</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value str">''</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">s</span>,<span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">to_9p</span>(<span class="ruby-ivar">@values</span>) }
|
@@ -67,9 +67,9 @@ A field’s value is considered to be either:
|
|
67
67
|
<dd>
|
68
68
|
<ul>
|
69
69
|
|
70
|
-
<li><a href="#
|
70
|
+
<li><a href="#M000147">countee=</a>,</li>
|
71
71
|
|
72
|
-
<li><a href="#
|
72
|
+
<li><a href="#M000146">counter=</a></li>
|
73
73
|
|
74
74
|
</ul>
|
75
75
|
</dd>
|
@@ -78,7 +78,7 @@ A field’s value is considered to be either:
|
|
78
78
|
<dd>
|
79
79
|
<ul>
|
80
80
|
|
81
|
-
<li><a href="#
|
81
|
+
<li><a href="#M000148">factory</a></li>
|
82
82
|
|
83
83
|
</ul>
|
84
84
|
</dd>
|
@@ -87,7 +87,7 @@ A field’s value is considered to be either:
|
|
87
87
|
<dd>
|
88
88
|
<ul>
|
89
89
|
|
90
|
-
<li><a href="#
|
90
|
+
<li><a href="#M000150">load_9p</a></li>
|
91
91
|
|
92
92
|
</ul>
|
93
93
|
</dd>
|
@@ -96,7 +96,7 @@ A field’s value is considered to be either:
|
|
96
96
|
<dd>
|
97
97
|
<ul>
|
98
98
|
|
99
|
-
<li><a href="#
|
99
|
+
<li><a href="#M000145">new</a></li>
|
100
100
|
|
101
101
|
</ul>
|
102
102
|
</dd>
|
@@ -105,7 +105,7 @@ A field’s value is considered to be either:
|
|
105
105
|
<dd>
|
106
106
|
<ul>
|
107
107
|
|
108
|
-
<li><a href="#
|
108
|
+
<li><a href="#M000149">to_9p</a></li>
|
109
109
|
|
110
110
|
</ul>
|
111
111
|
</dd>
|
@@ -173,9 +173,9 @@ A field’s value is considered to be either:
|
|
173
173
|
<div class="sectiontitle">Class Public methods</div>
|
174
174
|
|
175
175
|
<div class="method">
|
176
|
-
<div class="title" id="
|
176
|
+
<div class="title" id="M000148">
|
177
177
|
|
178
|
-
<a name="
|
178
|
+
<a name="M000148"></a><b>factory</b>(format)
|
179
179
|
|
180
180
|
</div>
|
181
181
|
|
@@ -192,12 +192,12 @@ given format.
|
|
192
192
|
|
193
193
|
<div class="sourcecode">
|
194
194
|
<p class="source-link">
|
195
|
-
Source: <a href="javascript:toggleSource('
|
195
|
+
Source: <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show</a>
|
196
196
|
|
197
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
197
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L187" target="_blank" class="github_url">on GitHub</a>
|
198
198
|
|
199
199
|
</p>
|
200
|
-
<div id="
|
200
|
+
<div id="M000148_source" class="dyn-source">
|
201
201
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 187</span>
|
202
202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">factory</span> <span class="ruby-identifier">format</span>
|
203
203
|
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">format</span> <span class="ruby-operator">==</span> <span class="ruby-constant">String</span>
|
@@ -219,9 +219,9 @@ given format.
|
|
219
219
|
</div>
|
220
220
|
|
221
221
|
<div class="method">
|
222
|
-
<div class="title" id="
|
222
|
+
<div class="title" id="M000145">
|
223
223
|
|
224
|
-
<a name="
|
224
|
+
<a name="M000145"></a><b>new</b>(name, format = nil, counter = nil)
|
225
225
|
|
226
226
|
</div>
|
227
227
|
|
@@ -245,12 +245,12 @@ given format.
|
|
245
245
|
|
246
246
|
<div class="sourcecode">
|
247
247
|
<p class="source-link">
|
248
|
-
Source: <a href="javascript:toggleSource('
|
248
|
+
Source: <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">show</a>
|
249
249
|
|
250
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
250
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L156" target="_blank" class="github_url">on GitHub</a>
|
251
251
|
|
252
252
|
</p>
|
253
|
-
<div id="
|
253
|
+
<div id="M000145_source" class="dyn-source">
|
254
254
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 156</span>
|
255
255
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">name</span>, <span class="ruby-identifier">format</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">counter</span> = <span class="ruby-keyword kw">nil</span>
|
256
256
|
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
|
@@ -266,9 +266,9 @@ given format.
|
|
266
266
|
<div class="sectiontitle">Instance Public methods</div>
|
267
267
|
|
268
268
|
<div class="method">
|
269
|
-
<div class="title" id="
|
269
|
+
<div class="title" id="M000147">
|
270
270
|
|
271
|
-
<a name="
|
271
|
+
<a name="M000147"></a><b>countee=</b>(field)
|
272
272
|
|
273
273
|
</div>
|
274
274
|
|
@@ -285,12 +285,12 @@ of the given field).
|
|
285
285
|
|
286
286
|
<div class="sourcecode">
|
287
287
|
<p class="source-link">
|
288
|
-
Source: <a href="javascript:toggleSource('
|
288
|
+
Source: <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">show</a>
|
289
289
|
|
290
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
290
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L178" target="_blank" class="github_url">on GitHub</a>
|
291
291
|
|
292
292
|
</p>
|
293
|
-
<div id="
|
293
|
+
<div id="M000147_source" class="dyn-source">
|
294
294
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 178</span>
|
295
295
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">countee=</span> <span class="ruby-identifier">field</span>
|
296
296
|
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@countee</span> = <span class="ruby-identifier">field</span>
|
@@ -303,9 +303,9 @@ of the given field).
|
|
303
303
|
</div>
|
304
304
|
|
305
305
|
<div class="method">
|
306
|
-
<div class="title" id="
|
306
|
+
<div class="title" id="M000146">
|
307
307
|
|
308
|
-
<a name="
|
308
|
+
<a name="M000146"></a><b>counter=</b>(field)
|
309
309
|
|
310
310
|
</div>
|
311
311
|
|
@@ -322,12 +322,12 @@ counted by the given field).
|
|
322
322
|
|
323
323
|
<div class="sourcecode">
|
324
324
|
<p class="source-link">
|
325
|
-
Source: <a href="javascript:toggleSource('
|
325
|
+
Source: <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show</a>
|
326
326
|
|
327
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
327
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L167" target="_blank" class="github_url">on GitHub</a>
|
328
328
|
|
329
329
|
</p>
|
330
|
-
<div id="
|
330
|
+
<div id="M000146_source" class="dyn-source">
|
331
331
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 167</span>
|
332
332
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">counter=</span> <span class="ruby-identifier">field</span>
|
333
333
|
<span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@counter</span> = <span class="ruby-identifier">field</span>
|
@@ -341,9 +341,9 @@ counted by the given field).
|
|
341
341
|
</div>
|
342
342
|
|
343
343
|
<div class="method">
|
344
|
-
<div class="title" id="
|
344
|
+
<div class="title" id="M000150">
|
345
345
|
|
346
|
-
<a name="
|
346
|
+
<a name="M000150"></a><b>load_9p</b>(stream, field_values)
|
347
347
|
|
348
348
|
</div>
|
349
349
|
|
@@ -360,12 +360,12 @@ stream.
|
|
360
360
|
|
361
361
|
<div class="sourcecode">
|
362
362
|
<p class="source-link">
|
363
|
-
Source: <a href="javascript:toggleSource('
|
363
|
+
Source: <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">show</a>
|
364
364
|
|
365
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
365
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L213" target="_blank" class="github_url">on GitHub</a>
|
366
366
|
|
367
367
|
</p>
|
368
|
-
<div id="
|
368
|
+
<div id="M000150_source" class="dyn-source">
|
369
369
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 213</span>
|
370
370
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_9p</span> <span class="ruby-identifier">stream</span>, <span class="ruby-identifier">field_values</span>
|
371
371
|
<span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@name</span>] = <span class="ruby-identifier">value_from_9p</span> <span class="ruby-identifier">stream</span>
|
@@ -376,9 +376,9 @@ stream.
|
|
376
376
|
</div>
|
377
377
|
|
378
378
|
<div class="method">
|
379
|
-
<div class="title" id="
|
379
|
+
<div class="title" id="M000149">
|
380
380
|
|
381
|
-
<a name="
|
381
|
+
<a name="M000149"></a><b>to_9p</b>(field_values)
|
382
382
|
|
383
383
|
</div>
|
384
384
|
|
@@ -394,12 +394,12 @@ Transforms this object into a string of 9P2000 bytes.
|
|
394
394
|
|
395
395
|
<div class="sourcecode">
|
396
396
|
<p class="source-link">
|
397
|
-
Source: <a href="javascript:toggleSource('
|
397
|
+
Source: <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">show</a>
|
398
398
|
|
399
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
399
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L205" target="_blank" class="github_url">on GitHub</a>
|
400
400
|
|
401
401
|
</p>
|
402
|
-
<div id="
|
402
|
+
<div id="M000149_source" class="dyn-source">
|
403
403
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 205</span>
|
404
404
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">field_values</span>
|
405
405
|
<span class="ruby-identifier">value_to_9p</span> <span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@name</span>]
|
@@ -50,7 +50,7 @@ Methods for a field whose length is counted by another field.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000155">load_9p</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -59,7 +59,7 @@ Methods for a field whose length is counted by another field.
|
|
59
59
|
<dd>
|
60
60
|
<ul>
|
61
61
|
|
62
|
-
<li><a href="#
|
62
|
+
<li><a href="#M000154">to_9p</a></li>
|
63
63
|
|
64
64
|
</ul>
|
65
65
|
</dd>
|
@@ -81,9 +81,9 @@ Methods for a field whose length is counted by another field.
|
|
81
81
|
<div class="sectiontitle">Instance Public methods</div>
|
82
82
|
|
83
83
|
<div class="method">
|
84
|
-
<div class="title" id="
|
84
|
+
<div class="title" id="M000155">
|
85
85
|
|
86
|
-
<a name="
|
86
|
+
<a name="M000155"></a><b>load_9p</b>(stream, field_values)
|
87
87
|
|
88
88
|
</div>
|
89
89
|
|
@@ -92,12 +92,12 @@ Methods for a field whose length is counted by another field.
|
|
92
92
|
|
93
93
|
<div class="sourcecode">
|
94
94
|
<p class="source-link">
|
95
|
-
Source: <a href="javascript:toggleSource('
|
95
|
+
Source: <a href="javascript:toggleSource('M000155_source')" id="l_M000155_source">show</a>
|
96
96
|
|
97
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
97
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L258" target="_blank" class="github_url">on GitHub</a>
|
98
98
|
|
99
99
|
</p>
|
100
|
-
<div id="
|
100
|
+
<div id="M000155_source" class="dyn-source">
|
101
101
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 258</span>
|
102
102
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_9p</span> <span class="ruby-identifier">stream</span>, <span class="ruby-identifier">field_values</span>
|
103
103
|
<span class="ruby-identifier">count</span> = <span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@counter</span>.<span class="ruby-identifier">name</span>].<span class="ruby-identifier">to_i</span>
|
@@ -115,9 +115,9 @@ Methods for a field whose length is counted by another field.
|
|
115
115
|
</div>
|
116
116
|
|
117
117
|
<div class="method">
|
118
|
-
<div class="title" id="
|
118
|
+
<div class="title" id="M000154">
|
119
119
|
|
120
|
-
<a name="
|
120
|
+
<a name="M000154"></a><b>to_9p</b>(field_values)
|
121
121
|
|
122
122
|
</div>
|
123
123
|
|
@@ -126,12 +126,12 @@ Methods for a field whose length is counted by another field.
|
|
126
126
|
|
127
127
|
<div class="sourcecode">
|
128
128
|
<p class="source-link">
|
129
|
-
Source: <a href="javascript:toggleSource('
|
129
|
+
Source: <a href="javascript:toggleSource('M000154_source')" id="l_M000154_source">show</a>
|
130
130
|
|
131
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
131
|
+
| <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L248" target="_blank" class="github_url">on GitHub</a>
|
132
132
|
|
133
133
|
</p>
|
134
|
-
<div id="
|
134
|
+
<div id="M000154_source" class="dyn-source">
|
135
135
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 248</span>
|
136
136
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">field_values</span>
|
137
137
|
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@name</span>]
|