rumai 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/bin/rumai +1 -1
  2. data/doc/api/classes/Integer.html +7 -7
  3. data/doc/api/classes/Rumai.html +148 -141
  4. data/doc/api/classes/Rumai/Area.html +135 -130
  5. data/doc/api/classes/Rumai/Chain.html +21 -21
  6. data/doc/api/classes/Rumai/Client.html +188 -189
  7. data/doc/api/classes/Rumai/ClientContainer.html +22 -22
  8. data/doc/api/classes/Rumai/IXP/Agent.html +248 -143
  9. data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +50 -50
  10. data/doc/api/classes/Rumai/IXP/Agent/MODES.html +7 -7
  11. data/doc/api/classes/Rumai/IXP/Agent/RangedPool.html +21 -21
  12. data/doc/api/classes/Rumai/IXP/Fcall.html +33 -33
  13. data/doc/api/classes/Rumai/IXP/Qid.html +1 -1
  14. data/doc/api/classes/Rumai/IXP/Stat.html +8 -8
  15. data/doc/api/classes/Rumai/IXP/Stream.html +6 -6
  16. data/doc/api/classes/Rumai/IXP/Struct.html +34 -38
  17. data/doc/api/classes/Rumai/IXP/Struct/Field.html +42 -42
  18. data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +14 -14
  19. data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +7 -7
  20. data/doc/api/classes/Rumai/IXP/Terror.html +7 -7
  21. data/doc/api/classes/Rumai/IXP/Topen.html +1 -1
  22. data/doc/api/classes/Rumai/Node.html +114 -110
  23. data/doc/api/classes/Rumai/View.html +184 -136
  24. data/doc/api/classes/String.html +15 -15
  25. data/doc/api/classes/Time.html +14 -14
  26. data/doc/api/created.rid +1 -1
  27. data/doc/api/files/lib/rumai/fs_rb.html +1 -1
  28. data/doc/api/files/lib/rumai/ixp/message_rb.html +1 -1
  29. data/doc/api/files/lib/rumai/ixp/transport_rb.html +1 -1
  30. data/doc/api/files/lib/rumai/wm_rb.html +1 -1
  31. data/doc/api/files/lib/rumai_rb.html +1 -1
  32. data/doc/api/panel/search_index.js +1 -1
  33. data/doc/history.erb +41 -0
  34. data/doc/index.html +1315 -669
  35. data/doc/setup.erb +82 -45
  36. data/doc/usage.erb +96 -132
  37. data/lib/rumai.rb +2 -2
  38. data/lib/rumai/fs.rb +11 -6
  39. data/lib/rumai/ixp/message.rb +31 -17
  40. data/lib/rumai/ixp/transport.rb +82 -36
  41. data/lib/rumai/wm.rb +87 -25
  42. metadata +5 -5
@@ -85,7 +85,7 @@ href="http://cm.bell-labs.com/magic/man2html/5/intro">cm.bell-labs.com/magic/man
85
85
  <tr valign='top'>
86
86
  <td>&nbsp;</td>
87
87
  <td colspan="2" class="attr-desc"><p>
88
- from <a
88
+ The following constant definitions originate from: <a
89
89
  href="http://swtch.com/usr/local/plan9/include/libc.h">swtch.com/usr/local/plan9/include/libc.h</a>
90
90
  </p>
91
91
  </td>
@@ -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="#M000161">directory?</a></li>
63
+ <li><a href="#M000158">directory?</a></li>
64
64
 
65
65
  </ul>
66
66
  </dd>
@@ -99,7 +99,7 @@ href="http://cm.bell-labs.com/magic/man2html/5/stat">cm.bell-labs.com/magic/man2
99
99
  <tr valign='top'>
100
100
  <td>&nbsp;</td>
101
101
  <td colspan="2" class="attr-desc"><p>
102
- from <a
102
+ The following constant definitions originate from: <a
103
103
  href="http://swtch.com/usr/local/plan9/include/libc.h">swtch.com/usr/local/plan9/include/libc.h</a>
104
104
  </p>
105
105
  </td>
@@ -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="M000161">
216
+ <div class="title" id="M000158">
217
217
 
218
- <a name="M000161"></a><b>directory?</b>()
218
+ <a name="M000158"></a><b>directory?</b>()
219
219
 
220
220
  </div>
221
221
 
@@ -231,13 +231,13 @@ 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('M000161_source')" id="l_M000161_source">show</a>
234
+ Source: <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show</a>
235
235
 
236
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L378" target="_blank" class="github_url">on GitHub</a>
236
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L389" target="_blank" class="github_url">on GitHub</a>
237
237
 
238
238
  </p>
239
- <div id="M000161_source" class="dyn-source">
240
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 378</span>
239
+ <div id="M000158_source" class="dyn-source">
240
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 389</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">&amp;</span> <span class="ruby-constant">DMDIR</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
243
243
  <span class="ruby-keyword kw">end</span></pre>
@@ -50,7 +50,7 @@ A 9P2000 byte stream.
50
50
  <dd>
51
51
  <ul>
52
52
 
53
- <li><a href="#M000137">read_9p</a></li>
53
+ <li><a href="#M000118">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="M000137">
95
+ <div class="title" id="M000118">
96
96
 
97
- <a name="M000137"></a><b>read_9p</b>(num_bytes)
97
+ <a name="M000118"></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('M000137_source')" id="l_M000137_source">show</a>
113
+ Source: <a href="javascript:toggleSource('M000118_source')" id="l_M000118_source">show</a>
114
114
 
115
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L37" target="_blank" class="github_url">on GitHub</a>
115
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L37" target="_blank" class="github_url">on GitHub</a>
116
116
 
117
117
  </p>
118
- <div id="M000137_source" class="dyn-source">
118
+ <div id="M000118_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="#M000141">included</a></li>
53
+ <li><a href="#M000128">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="#M000140">load_9p</a></li>
62
+ <li><a href="#M000124">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="#M000138">new</a></li>
71
+ <li><a href="#M000121">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="#M000139">to_9p</a></li>
80
+ <li><a href="#M000123">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="M000141">
122
+ <div class="title" id="M000128">
123
123
 
124
- <a name="M000141"></a><b>included</b>(target)
124
+ <a name="M000128"></a><b>included</b>(target)
125
125
 
126
126
  </div>
127
127
 
@@ -138,16 +138,18 @@ 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('M000141_source')" id="l_M000141_source">show</a>
141
+ Source: <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show</a>
142
142
 
143
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L86" target="_blank" class="github_url">on GitHub</a>
143
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L86" target="_blank" class="github_url">on GitHub</a>
144
144
 
145
145
  </p>
146
- <div id="M000141_source" class="dyn-source">
146
+ <div id="M000128_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">&lt;&lt;</span> <span class="ruby-identifier">target</span>
150
+ <span class="ruby-comment cmt">##</span>
150
151
  <span class="ruby-comment cmt"># Returns a list of fields which compose this Struct.</span>
152
+ <span class="ruby-comment cmt">#</span>
151
153
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fields</span>
152
154
  <span class="ruby-ivar">@fields</span> <span class="ruby-operator">||=</span>
153
155
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">superclass</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:fields</span>
@@ -163,22 +165,16 @@ Provides a convenient DSL (for defining fields) to all objects which
163
165
  <span class="ruby-comment cmt"># [args] arguments for Field.new()</span>
164
166
  <span class="ruby-comment cmt">#</span>
165
167
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">field</span> <span class="ruby-identifier">name</span>, <span class="ruby-identifier">format</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
166
- <span class="ruby-identifier">c</span> = <span class="ruby-constant">Field</span>.<span class="ruby-identifier">factory</span>(<span class="ruby-identifier">format</span>)
167
- <span class="ruby-identifier">f</span> = <span class="ruby-identifier">c</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-identifier">format</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
168
- <span class="ruby-identifier">fields</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">f</span> <span class="ruby-comment cmt"># register field as being part of this structure</span>
168
+ <span class="ruby-identifier">klass</span> = <span class="ruby-constant">Field</span>.<span class="ruby-identifier">factory</span>(<span class="ruby-identifier">format</span>)
169
+ <span class="ruby-identifier">field</span> = <span class="ruby-identifier">klass</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>, <span class="ruby-identifier">format</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
169
170
 
170
- <span class="ruby-comment cmt"># provide accessor methods to field values</span>
171
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-node">%{
172
- def #{f.name}
173
- @values[#{f.name.inspect}]
174
- end
171
+ <span class="ruby-comment cmt"># register field as being part of this structure</span>
172
+ <span class="ruby-identifier">fields</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">field</span>
175
173
 
176
- def #{f.name}= value
177
- @values[#{f.name.inspect}] = value
178
- end
179
- }</span>
174
+ <span class="ruby-comment cmt"># provide accessor methods to field values</span>
175
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-value str">&quot;def \#{field.name}\n@values[\#{field.name.inspect}]\nend\n\ndef \#{field.name}= value\n@values[\#{field.name.inspect}] = value\nend\n&quot;</span>, <span class="ruby-keyword kw">__FILE__</span>, <span class="ruby-keyword kw">__LINE__</span>
180
176
 
181
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">f</span>
177
+ <span class="ruby-identifier">field</span>
182
178
  <span class="ruby-keyword kw">end</span>
183
179
 
184
180
  <span class="ruby-comment cmt">##</span>
@@ -198,9 +194,9 @@ Provides a convenient DSL (for defining fields) to all objects which
198
194
  </div>
199
195
 
200
196
  <div class="method">
201
- <div class="title" id="M000138">
197
+ <div class="title" id="M000121">
202
198
 
203
- <a name="M000138"></a><b>new</b>(field_values = {})
199
+ <a name="M000121"></a><b>new</b>(field_values = {})
204
200
 
205
201
  </div>
206
202
 
@@ -221,12 +217,12 @@ Allows field values to be initialized via the constructor.
221
217
 
222
218
  <div class="sourcecode">
223
219
  <p class="source-link">
224
- Source: <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show</a>
220
+ Source: <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">show</a>
225
221
 
226
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L60" target="_blank" class="github_url">on GitHub</a>
222
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L60" target="_blank" class="github_url">on GitHub</a>
227
223
 
228
224
  </p>
229
- <div id="M000138_source" class="dyn-source">
225
+ <div id="M000121_source" class="dyn-source">
230
226
  <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 60</span>
231
227
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">field_values</span> = {}
232
228
  <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 +236,9 @@ Allows field values to be initialized via the constructor.
240
236
  <div class="sectiontitle">Instance Public methods</div>
241
237
 
242
238
  <div class="method">
243
- <div class="title" id="M000140">
239
+ <div class="title" id="M000124">
244
240
 
245
- <a name="M000140"></a><b>load_9p</b>(stream)
241
+ <a name="M000124"></a><b>load_9p</b>(stream)
246
242
 
247
243
  </div>
248
244
 
@@ -258,12 +254,12 @@ Populates this object with information from the given 9P2000 byte stream.
258
254
 
259
255
  <div class="sourcecode">
260
256
  <p class="source-link">
261
- Source: <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show</a>
257
+ Source: <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">show</a>
262
258
 
263
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L76" target="_blank" class="github_url">on GitHub</a>
259
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L76" target="_blank" class="github_url">on GitHub</a>
264
260
 
265
261
  </p>
266
- <div id="M000140_source" class="dyn-source">
262
+ <div id="M000124_source" class="dyn-source">
267
263
  <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 76</span>
268
264
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_9p</span> <span class="ruby-identifier">stream</span>
269
265
  <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 +272,9 @@ Populates this object with information from the given 9P2000 byte stream.
276
272
  </div>
277
273
 
278
274
  <div class="method">
279
- <div class="title" id="M000139">
275
+ <div class="title" id="M000123">
280
276
 
281
- <a name="M000139"></a><b>to_9p</b>()
277
+ <a name="M000123"></a><b>to_9p</b>()
282
278
 
283
279
  </div>
284
280
 
@@ -294,15 +290,15 @@ Transforms this object into a string of 9P2000 bytes.
294
290
 
295
291
  <div class="sourcecode">
296
292
  <p class="source-link">
297
- Source: <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show</a>
293
+ Source: <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">show</a>
298
294
 
299
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L68" target="_blank" class="github_url">on GitHub</a>
295
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L68" target="_blank" class="github_url">on GitHub</a>
300
296
 
301
297
  </p>
302
- <div id="M000139_source" class="dyn-source">
298
+ <div id="M000123_source" class="dyn-source">
303
299
  <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 68</span>
304
300
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_9p</span>
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">&lt;&lt;</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">to_9p</span>(<span class="ruby-ivar">@values</span>) }
301
+ <span class="ruby-ivar">@fields</span>.<span class="ruby-identifier">inject</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">&lt;&lt;</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">to_9p</span>(<span class="ruby-ivar">@values</span>) }.<span class="ruby-identifier">join</span>
306
302
  <span class="ruby-keyword kw">end</span></pre>
307
303
  </div>
308
304
  </div>
@@ -67,9 +67,9 @@ A field&#8217;s value is considered to be either:
67
67
  <dd>
68
68
  <ul>
69
69
 
70
- <li><a href="#M000147">countee=</a>,</li>
70
+ <li><a href="#M000140">countee=</a>,</li>
71
71
 
72
- <li><a href="#M000146">counter=</a></li>
72
+ <li><a href="#M000139">counter=</a></li>
73
73
 
74
74
  </ul>
75
75
  </dd>
@@ -78,7 +78,7 @@ A field&#8217;s value is considered to be either:
78
78
  <dd>
79
79
  <ul>
80
80
 
81
- <li><a href="#M000148">factory</a></li>
81
+ <li><a href="#M000142">factory</a></li>
82
82
 
83
83
  </ul>
84
84
  </dd>
@@ -87,7 +87,7 @@ A field&#8217;s value is considered to be either:
87
87
  <dd>
88
88
  <ul>
89
89
 
90
- <li><a href="#M000150">load_9p</a></li>
90
+ <li><a href="#M000145">load_9p</a></li>
91
91
 
92
92
  </ul>
93
93
  </dd>
@@ -96,7 +96,7 @@ A field&#8217;s value is considered to be either:
96
96
  <dd>
97
97
  <ul>
98
98
 
99
- <li><a href="#M000145">new</a></li>
99
+ <li><a href="#M000138">new</a></li>
100
100
 
101
101
  </ul>
102
102
  </dd>
@@ -105,7 +105,7 @@ A field&#8217;s value is considered to be either:
105
105
  <dd>
106
106
  <ul>
107
107
 
108
- <li><a href="#M000149">to_9p</a></li>
108
+ <li><a href="#M000143">to_9p</a></li>
109
109
 
110
110
  </ul>
111
111
  </dd>
@@ -173,9 +173,9 @@ A field&#8217;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="M000148">
176
+ <div class="title" id="M000142">
177
177
 
178
- <a name="M000148"></a><b>factory</b>(format)
178
+ <a name="M000142"></a><b>factory</b>(format)
179
179
 
180
180
  </div>
181
181
 
@@ -192,13 +192,13 @@ given format.
192
192
 
193
193
  <div class="sourcecode">
194
194
  <p class="source-link">
195
- Source: <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show</a>
195
+ Source: <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">show</a>
196
196
 
197
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L187" target="_blank" class="github_url">on GitHub</a>
197
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L192" target="_blank" class="github_url">on GitHub</a>
198
198
 
199
199
  </p>
200
- <div id="M000148_source" class="dyn-source">
201
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 187</span>
200
+ <div id="M000142_source" class="dyn-source">
201
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 192</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>
204
204
  <span class="ruby-constant">StringField</span>
@@ -219,9 +219,9 @@ given format.
219
219
  </div>
220
220
 
221
221
  <div class="method">
222
- <div class="title" id="M000145">
222
+ <div class="title" id="M000138">
223
223
 
224
- <a name="M000145"></a><b>new</b>(name, format = nil, counter = nil)
224
+ <a name="M000138"></a><b>new</b>(name, format = nil, counter = nil)
225
225
 
226
226
  </div>
227
227
 
@@ -245,13 +245,13 @@ given format.
245
245
 
246
246
  <div class="sourcecode">
247
247
  <p class="source-link">
248
- Source: <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">show</a>
248
+ Source: <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show</a>
249
249
 
250
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L156" target="_blank" class="github_url">on GitHub</a>
250
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L161" target="_blank" class="github_url">on GitHub</a>
251
251
 
252
252
  </p>
253
- <div id="M000145_source" class="dyn-source">
254
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 156</span>
253
+ <div id="M000138_source" class="dyn-source">
254
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 161</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>
257
257
  <span class="ruby-ivar">@format</span> = <span class="ruby-identifier">format</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="M000147">
269
+ <div class="title" id="M000140">
270
270
 
271
- <a name="M000147"></a><b>countee=</b>(field)
271
+ <a name="M000140"></a><b>countee=</b>(field)
272
272
 
273
273
  </div>
274
274
 
@@ -285,13 +285,13 @@ of the given field).
285
285
 
286
286
  <div class="sourcecode">
287
287
  <p class="source-link">
288
- Source: <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">show</a>
288
+ Source: <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show</a>
289
289
 
290
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L178" target="_blank" class="github_url">on GitHub</a>
290
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L183" target="_blank" class="github_url">on GitHub</a>
291
291
 
292
292
  </p>
293
- <div id="M000147_source" class="dyn-source">
294
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 178</span>
293
+ <div id="M000140_source" class="dyn-source">
294
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 183</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>
297
297
  <span class="ruby-identifier">extend</span> <span class="ruby-constant">CounterField</span>
@@ -303,9 +303,9 @@ of the given field).
303
303
  </div>
304
304
 
305
305
  <div class="method">
306
- <div class="title" id="M000146">
306
+ <div class="title" id="M000139">
307
307
 
308
- <a name="M000146"></a><b>counter=</b>(field)
308
+ <a name="M000139"></a><b>counter=</b>(field)
309
309
 
310
310
  </div>
311
311
 
@@ -322,13 +322,13 @@ counted by the given field).
322
322
 
323
323
  <div class="sourcecode">
324
324
  <p class="source-link">
325
- Source: <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show</a>
325
+ Source: <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show</a>
326
326
 
327
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L167" target="_blank" class="github_url">on GitHub</a>
327
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L172" target="_blank" class="github_url">on GitHub</a>
328
328
 
329
329
  </p>
330
- <div id="M000146_source" class="dyn-source">
331
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 167</span>
330
+ <div id="M000139_source" class="dyn-source">
331
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 172</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>
334
334
  <span class="ruby-identifier">extend</span> <span class="ruby-constant">CounteeField</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="M000150">
344
+ <div class="title" id="M000145">
345
345
 
346
- <a name="M000150"></a><b>load_9p</b>(stream, field_values)
346
+ <a name="M000145"></a><b>load_9p</b>(stream, field_values)
347
347
 
348
348
  </div>
349
349
 
@@ -360,13 +360,13 @@ stream.
360
360
 
361
361
  <div class="sourcecode">
362
362
  <p class="source-link">
363
- Source: <a href="javascript:toggleSource('M000150_source')" id="l_M000150_source">show</a>
363
+ Source: <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">show</a>
364
364
 
365
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L213" target="_blank" class="github_url">on GitHub</a>
365
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L218" target="_blank" class="github_url">on GitHub</a>
366
366
 
367
367
  </p>
368
- <div id="M000150_source" class="dyn-source">
369
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 213</span>
368
+ <div id="M000145_source" class="dyn-source">
369
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 218</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>
372
372
  <span class="ruby-keyword kw">end</span></pre>
@@ -376,9 +376,9 @@ stream.
376
376
  </div>
377
377
 
378
378
  <div class="method">
379
- <div class="title" id="M000149">
379
+ <div class="title" id="M000143">
380
380
 
381
- <a name="M000149"></a><b>to_9p</b>(field_values)
381
+ <a name="M000143"></a><b>to_9p</b>(field_values)
382
382
 
383
383
  </div>
384
384
 
@@ -394,13 +394,13 @@ 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('M000149_source')" id="l_M000149_source">show</a>
397
+ Source: <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">show</a>
398
398
 
399
- | <a href="http://github.com/sunaku/rumai/blob/002c49633477b80743577bdc6d2f4f8c9a1bdd46/lib/rumai/ixp/message.rb#L205" target="_blank" class="github_url">on GitHub</a>
399
+ | <a href="http://github.com/sunaku/rumai/blob/947d8ffb1e3c2bd1aebfca5fae4e7ebb7913607f/lib/rumai/ixp/message.rb#L210" target="_blank" class="github_url">on GitHub</a>
400
400
 
401
401
  </p>
402
- <div id="M000149_source" class="dyn-source">
403
- <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 205</span>
402
+ <div id="M000143_source" class="dyn-source">
403
+ <pre><span class="ruby-comment cmt"># File lib/rumai/ixp/message.rb, line 210</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>]
406
406
  <span class="ruby-keyword kw">end</span></pre>