rumai 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +1 -0
- data/doc/api/classes/Integer.html +5 -5
- data/doc/api/classes/Rumai.html +178 -215
- data/doc/api/classes/Rumai/Area.html +194 -126
- data/doc/api/classes/Rumai/Chain.html +21 -21
- data/doc/api/classes/Rumai/Client.html +506 -142
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +55 -55
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +30 -30
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +5 -5
- data/doc/api/classes/Rumai/IXP/Fcall.html +25 -25
- data/doc/api/classes/Rumai/IXP/Stat.html +5 -5
- data/doc/api/classes/Rumai/IXP/Stream.html +5 -5
- data/doc/api/classes/Rumai/IXP/Struct.html +20 -20
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +30 -30
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +10 -10
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +5 -5
- data/doc/api/classes/Rumai/IXP/Terror.html +5 -5
- data/doc/api/classes/Rumai/Node.html +45 -45
- data/doc/api/classes/Rumai/View.html +226 -125
- data/doc/api/classes/Rumai/WidgetImpl.html +1 -1
- data/doc/api/classes/String.html +10 -10
- data/doc/api/classes/Time.html +10 -10
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +4 -1
- data/doc/api/files/lib/rumai/fs_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/panel/search_index.js +1 -1
- data/doc/history.erb +63 -0
- data/doc/index.erb +2 -2
- data/doc/index.xhtml +215 -67
- data/doc/intro.erb +4 -1
- data/doc/usage.erb +1 -1
- data/lib/rumai.rb +2 -2
- data/lib/rumai/wm.rb +200 -130
- metadata +2 -2
@@ -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="#M000135">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="#M000130">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="#M000126">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="#M000127">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="M000135">
|
123
123
|
|
124
|
-
<a name="
|
124
|
+
<a name="M000135"></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('M000135_source')" id="l_M000135_source">show</a>
|
142
142
|
|
143
143
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000135_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="M000126">
|
202
202
|
|
203
|
-
<a name="
|
203
|
+
<a name="M000126"></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('M000126_source')" id="l_M000126_source">show</a>
|
225
225
|
|
226
226
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000126_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="M000130">
|
244
244
|
|
245
|
-
<a name="
|
245
|
+
<a name="M000130"></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('M000130_source')" id="l_M000130_source">show</a>
|
262
262
|
|
263
263
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000130_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="M000127">
|
280
280
|
|
281
|
-
<a name="
|
281
|
+
<a name="M000127"></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('M000127_source')" id="l_M000127_source">show</a>
|
298
298
|
|
299
299
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000127_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="#M000153">countee=</a>,</li>
|
71
71
|
|
72
|
-
<li><a href="#
|
72
|
+
<li><a href="#M000152">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="#M000154">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="#M000156">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="#M000148">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="#M000155">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="M000154">
|
177
177
|
|
178
|
-
<a name="
|
178
|
+
<a name="M000154"></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('M000154_source')" id="l_M000154_source">show</a>
|
196
196
|
|
197
197
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000154_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="M000148">
|
223
223
|
|
224
|
-
<a name="
|
224
|
+
<a name="M000148"></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('M000148_source')" id="l_M000148_source">show</a>
|
249
249
|
|
250
250
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000148_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="M000153">
|
270
270
|
|
271
|
-
<a name="
|
271
|
+
<a name="M000153"></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('M000153_source')" id="l_M000153_source">show</a>
|
289
289
|
|
290
290
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000153_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="M000152">
|
307
307
|
|
308
|
-
<a name="
|
308
|
+
<a name="M000152"></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('M000152_source')" id="l_M000152_source">show</a>
|
326
326
|
|
327
327
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000152_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="M000156">
|
345
345
|
|
346
|
-
<a name="
|
346
|
+
<a name="M000156"></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('M000156_source')" id="l_M000156_source">show</a>
|
364
364
|
|
365
365
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000156_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="M000155">
|
380
380
|
|
381
|
-
<a name="
|
381
|
+
<a name="M000155"></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('M000155_source')" id="l_M000155_source">show</a>
|
398
398
|
|
399
399
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000155_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="#M000161">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="#M000160">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="M000161">
|
85
85
|
|
86
|
-
<a name="
|
86
|
+
<a name="M000161"></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('M000161_source')" id="l_M000161_source">show</a>
|
96
96
|
|
97
97
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000161_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="M000160">
|
119
119
|
|
120
|
-
<a name="
|
120
|
+
<a name="M000160"></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('M000160_source')" id="l_M000160_source">show</a>
|
130
130
|
|
131
131
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/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="M000160_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>]
|
@@ -50,7 +50,7 @@ Methods for a field that counts the length of another field.
|
|
50
50
|
<dd>
|
51
51
|
<ul>
|
52
52
|
|
53
|
-
<li><a href="#
|
53
|
+
<li><a href="#M000159">to_9p</a></li>
|
54
54
|
|
55
55
|
</ul>
|
56
56
|
</dd>
|
@@ -72,9 +72,9 @@ Methods for a field that counts the length of another field.
|
|
72
72
|
<div class="sectiontitle">Instance Public methods</div>
|
73
73
|
|
74
74
|
<div class="method">
|
75
|
-
<div class="title" id="
|
75
|
+
<div class="title" id="M000159">
|
76
76
|
|
77
|
-
<a name="
|
77
|
+
<a name="M000159"></a><b>to_9p</b>(field_values)
|
78
78
|
|
79
79
|
</div>
|
80
80
|
|
@@ -83,12 +83,12 @@ Methods for a field that counts the length of another field.
|
|
83
83
|
|
84
84
|
<div class="sourcecode">
|
85
85
|
<p class="source-link">
|
86
|
-
Source: <a href="javascript:toggleSource('
|
86
|
+
Source: <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show</a>
|
87
87
|
|
88
88
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/message.rb#L239" target="_blank" class="github_url">on GitHub</a>
|
89
89
|
|
90
90
|
</p>
|
91
|
-
<div id="
|
91
|
+
<div id="M000159_source" class="dyn-source">
|
92
92
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 239</span>
|
93
93
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span> <span class="ruby-identifier">field_values</span>
|
94
94
|
<span class="ruby-identifier">value_to_9p</span> <span class="ruby-identifier">field_values</span>[<span class="ruby-ivar">@countee</span>.<span class="ruby-identifier">name</span>].<span class="ruby-identifier">length</span>
|
@@ -56,7 +56,7 @@ illegal
|
|
56
56
|
<dd>
|
57
57
|
<ul>
|
58
58
|
|
59
|
-
<li><a href="#
|
59
|
+
<li><a href="#M000166">to_9p</a></li>
|
60
60
|
|
61
61
|
</ul>
|
62
62
|
</dd>
|
@@ -78,9 +78,9 @@ illegal
|
|
78
78
|
<div class="sectiontitle">Instance Public methods</div>
|
79
79
|
|
80
80
|
<div class="method">
|
81
|
-
<div class="title" id="
|
81
|
+
<div class="title" id="M000166">
|
82
82
|
|
83
|
-
<a name="
|
83
|
+
<a name="M000166"></a><b>to_9p</b>()
|
84
84
|
|
85
85
|
</div>
|
86
86
|
|
@@ -89,12 +89,12 @@ illegal
|
|
89
89
|
|
90
90
|
<div class="sourcecode">
|
91
91
|
<p class="source-link">
|
92
|
-
Source: <a href="javascript:toggleSource('
|
92
|
+
Source: <a href="javascript:toggleSource('M000166_source')" id="l_M000166_source">show</a>
|
93
93
|
|
94
94
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/message.rb#L475" target="_blank" class="github_url">on GitHub</a>
|
95
95
|
|
96
96
|
</p>
|
97
|
-
<div id="
|
97
|
+
<div id="M000166_source" class="dyn-source">
|
98
98
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 475</span>
|
99
99
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span>
|
100
100
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Error</span>, <span class="ruby-value str">'the Terror fcall cannot be transmitted'</span>
|